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:
f06bf7e
)
-better error message
author
Christian Grothoff
<christian@grothoff.org>
Sun, 27 May 2012 19:35:30 +0000
(19:35 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 27 May 2012 19:35:30 +0000
(19:35 +0000)
src/fs/test_fs_namespace.c
patch
|
blob
|
history
diff --git
a/src/fs/test_fs_namespace.c
b/src/fs/test_fs_namespace.c
index e9cdb367601365fa7f34e85a02c8e2a8833fd326..78af1f1488d7263459d32288bafcc1fb0307c254 100644
(file)
--- a/
src/fs/test_fs_namespace.c
+++ b/
src/fs/test_fs_namespace.c
@@
-258,6
+258,13
@@
sks_cont (void *cls, const struct GNUNET_FS_Uri *uri, const char *emsg)
char *msg;
struct GNUNET_FS_BlockOptions bo;
+ if (NULL == uri)
+ {
+ fprintf (stderr, "Error publishing: %s\n", emsg);
+ err = 1;
+ GNUNET_FS_stop (fs);
+ return;
+ }
meta = GNUNET_CONTAINER_meta_data_create ();
msg = NULL;
ksk_uri = GNUNET_FS_uri_parse ("gnunet://fs/ksk/ns-search", &msg);