diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-12 18:24:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-12 18:24:18 +0000 |
commit | e671c62e0102bab8a892733847caaaefd86e5ee0 (patch) | |
tree | 279286a9720b28258e0b9217d4cac96749adad3a /src/fs | |
parent | c74516895168d7235944afec1c4ff78d954d7cb2 (diff) | |
download | gnunet-e671c62e0102bab8a892733847caaaefd86e5ee0.tar.gz gnunet-e671c62e0102bab8a892733847caaaefd86e5ee0.zip |
-GArik: fix infinite loop
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/fs_uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c index 50c8785b6..54e75b8c3 100644 --- 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) | |||
1404 | 1404 | ||
1405 | if (uri->type == ksk) | 1405 | if (uri->type == ksk) |
1406 | { | 1406 | { |
1407 | for (i = uri->data.ksk.keywordCount - 1; i >= 0; i--) | 1407 | for (i=0;i i < uri->data.ksk.keywordCount; i++) |
1408 | GNUNET_assert (uri->data.ksk.keywords[i] != NULL); | 1408 | GNUNET_assert (uri->data.ksk.keywords[i] != NULL); |
1409 | } | 1409 | } |
1410 | #endif | 1410 | #endif |