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:
c745168
)
-GArik: fix infinite loop
author
Christian Grothoff
<christian@grothoff.org>
Sun, 12 Feb 2012 18:24:18 +0000
(18:24 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 12 Feb 2012 18:24:18 +0000
(18:24 +0000)
src/fs/fs_uri.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_uri.c
b/src/fs/fs_uri.c
index 50c8785b6623c7fb241021fcf6adc41288146826..54e75b8c31d550ed8402bd7e6dd67d0865b4f0e0 100644
(file)
--- a/
src/fs/fs_uri.c
+++ b/
src/fs/fs_uri.c
@@
-1404,7
+1404,7
@@
GNUNET_FS_uri_test_ksk (const struct GNUNET_FS_Uri *uri)
if (uri->type == ksk)
{
- for (i
= uri->data.ksk.keywordCount - 1; i >= 0; i--
)
+ for (i
=0;i i < uri->data.ksk.keywordCount; i++
)
GNUNET_assert (uri->data.ksk.keywords[i] != NULL);
}
#endif