diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-08-30 21:42:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-08-30 21:42:10 +0000 |
commit | 4a9e2610bde0a3f3899ec3b114e712c81978e962 (patch) | |
tree | 62a2465d1a8838b9da785ebb85014515efd2287e /src/fs/test_fs_uri.c | |
parent | ffa0156860c584608db5bde1038e127c6e8fda21 (diff) | |
download | gnunet-4a9e2610bde0a3f3899ec3b114e712c81978e962.tar.gz gnunet-4a9e2610bde0a3f3899ec3b114e712c81978e962.zip |
nitpicks
Diffstat (limited to 'src/fs/test_fs_uri.c')
-rw-r--r-- | src/fs/test_fs_uri.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fs/test_fs_uri.c b/src/fs/test_fs_uri.c index 56cb7e10d..0131ab32f 100644 --- a/src/fs/test_fs_uri.c +++ b/src/fs/test_fs_uri.c | |||
@@ -38,8 +38,11 @@ testKeyword () | |||
38 | struct GNUNET_FS_Uri *ret; | 38 | struct GNUNET_FS_Uri *ret; |
39 | char *emsg; | 39 | char *emsg; |
40 | 40 | ||
41 | if (NULL != GNUNET_FS_uri_parse ("gnunet://fs/ksk/++", &emsg)) | 41 | if (NULL != (ret = GNUNET_FS_uri_parse ("gnunet://fs/ksk/++", &emsg))) |
42 | ABORT (); | 42 | { |
43 | GNUNET_FS_uri_destroy (ret); | ||
44 | ABORT (); | ||
45 | } | ||
43 | GNUNET_free (emsg); | 46 | GNUNET_free (emsg); |
44 | ret = GNUNET_FS_uri_parse ("gnunet://fs/ksk/foo+bar", &emsg); | 47 | ret = GNUNET_FS_uri_parse ("gnunet://fs/ksk/foo+bar", &emsg); |
45 | if (ret == NULL) | 48 | if (ret == NULL) |