artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40a04c
)
Compare filepath with strcmp() and not strcasecmp(). The URI in RPKI are
author
claudio
<claudio@openbsd.org>
Fri, 26 Mar 2021 16:03:29 +0000
(16:03 +0000)
committer
claudio
<claudio@openbsd.org>
Fri, 26 Mar 2021 16:03:29 +0000
(16:03 +0000)
case sensitive.
OK tb@
usr.sbin/rpki-client/main.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rpki-client/main.c
b/usr.sbin/rpki-client/main.c
index
3d88e29
..
74ed9b4
100644
(file)
--- a/
usr.sbin/rpki-client/main.c
+++ b/
usr.sbin/rpki-client/main.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: main.c,v 1.12
4 2021/03/26 10:01:51
claudio Exp $ */
+/* $OpenBSD: main.c,v 1.12
5 2021/03/26 16:03:29
claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@
-86,7
+86,7
@@
struct filepath {
static inline int
filepathcmp(struct filepath *a, struct filepath *b)
{
- return strc
asec
mp(a->file, b->file);
+ return strcmp(a->file, b->file);
}
RB_HEAD(filepath_tree, filepath);