projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e310c6f
)
mantis 1492
author
Christian Grothoff
<christian@grothoff.org>
Fri, 4 Sep 2009 14:23:10 +0000
(14:23 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 4 Sep 2009 14:23:10 +0000
(14:23 +0000)
src/fs/fs_uri.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_uri.c
b/src/fs/fs_uri.c
index 7959c37af47bdf233617dc755aa81e55c4cc1460..61fb7d61df382afdd0686dc2fdeebceeaaa59323 100644
(file)
--- a/
src/fs/fs_uri.c
+++ b/
src/fs/fs_uri.c
@@
-1195,7
+1195,7
@@
GNUNET_FS_uri_ksk_create_from_args (unsigned int argc,
emsg = NULL;
if ( (argc == 1) &&
(strlen(argv[0]) > strlen(GNUNET_FS_URI_PREFIX)) &&
- (strncmp(argv[0], GNUNET_FS_URI_PREFIX, strlen(GNUNET_FS_URI_PREFIX)) ) &&
+ (
0 ==
strncmp(argv[0], GNUNET_FS_URI_PREFIX, strlen(GNUNET_FS_URI_PREFIX)) ) &&
(NULL != (uri = GNUNET_FS_uri_parse(argv[0], &emsg)) ) )
return uri;
GNUNET_free_non_null (emsg);