aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/test_fs_namespace.c')
-rw-r--r--src/fs/test_fs_namespace.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/fs/test_fs_namespace.c b/src/fs/test_fs_namespace.c
index 5c60b9437..825612b1a 100644
--- a/src/fs/test_fs_namespace.c
+++ b/src/fs/test_fs_namespace.c
@@ -115,7 +115,6 @@ testNamespace ()
115{ 115{
116 struct GNUNET_FS_Namespace *ns; 116 struct GNUNET_FS_Namespace *ns;
117 struct GNUNET_FS_Uri *adv; 117 struct GNUNET_FS_Uri *adv;
118 struct GNUNET_FS_Uri *rootUri;
119 struct GNUNET_CONTAINER_MetaData *meta; 118 struct GNUNET_CONTAINER_MetaData *meta;
120 struct GNUNET_TIME_Absolute expiration; 119 struct GNUNET_TIME_Absolute expiration;
121 120
@@ -124,14 +123,14 @@ testNamespace ()
124 adv = GNUNET_FS_uri_ksk_create ("testNamespace", NULL); 123 adv = GNUNET_FS_uri_ksk_create ("testNamespace", NULL);
125 ns = GNUNET_FS_namespace_create (fs, 124 ns = GNUNET_FS_namespace_create (fs,
126 "testNamespace"); 125 "testNamespace");
127 rootUri = GNUNET_FS_namespace_advertise (fs, 126 GNUNET_FS_namespace_advertise (fs,
128 ns, 127 ns,
129 meta, 128 meta,
130 1, 1, 129 1, 1,
131 expiration, 130 expiration,
132 adv, 131 "root",
133 "root"); 132 &publish_cont, NULL);
134 GNUNET_assert (NULL != rootUri); 133#if 0
135 GNUNET_FS_publish_sks (fs, 134 GNUNET_FS_publish_sks (fs,
136 ns, 135 ns,
137 "this", 136 "this",
@@ -143,6 +142,7 @@ testNamespace ()
143 GNUNET_FS_PUBLISH_OPTION_NONE, 142 GNUNET_FS_PUBLISH_OPTION_NONE,
144 &publish_cont, 143 &publish_cont,
145 NULL); 144 NULL);
145#endif
146 GNUNET_CONTAINER_meta_data_destroy (meta); 146 GNUNET_CONTAINER_meta_data_destroy (meta);
147} 147}
148 148