diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-03-25 15:18:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-03-25 15:18:11 +0000 |
commit | 8e8ff40c08bb8382eb4e4869d2a8dd6c7d23bd4a (patch) | |
tree | 4e6f22160b6724d8a4e468616f6667f9f7b54db9 /src/fs/test_fs_namespace.c | |
parent | c3108c3c12f86ea683e82356becca3ed8e24624b (diff) | |
download | gnunet-8e8ff40c08bb8382eb4e4869d2a8dd6c7d23bd4a.tar.gz gnunet-8e8ff40c08bb8382eb4e4869d2a8dd6c7d23bd4a.zip |
better error handling
Diffstat (limited to 'src/fs/test_fs_namespace.c')
-rw-r--r-- | src/fs/test_fs_namespace.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/fs/test_fs_namespace.c b/src/fs/test_fs_namespace.c index 48442f855..ea9e00c90 100644 --- a/src/fs/test_fs_namespace.c +++ b/src/fs/test_fs_namespace.c | |||
@@ -47,14 +47,6 @@ struct PeerContext | |||
47 | }; | 47 | }; |
48 | 48 | ||
49 | 49 | ||
50 | static void * | ||
51 | progress_cb (void *cls, | ||
52 | const struct GNUNET_FS_ProgressInfo *event) | ||
53 | { | ||
54 | return NULL; | ||
55 | } | ||
56 | |||
57 | |||
58 | static void | 50 | static void |
59 | setup_peer (struct PeerContext *p, const char *cfgname) | 51 | setup_peer (struct PeerContext *p, const char *cfgname) |
60 | { | 52 | { |
@@ -97,6 +89,15 @@ spcb (void *cls, | |||
97 | #endif | 89 | #endif |
98 | 90 | ||
99 | 91 | ||
92 | |||
93 | static void * | ||
94 | progress_cb (void *cls, | ||
95 | const struct GNUNET_FS_ProgressInfo *event) | ||
96 | { | ||
97 | return NULL; | ||
98 | } | ||
99 | |||
100 | |||
100 | static void | 101 | static void |
101 | publish_cont (void *cls, | 102 | publish_cont (void *cls, |
102 | const struct GNUNET_FS_Uri *ksk_uri, | 103 | const struct GNUNET_FS_Uri *ksk_uri, |