-fix, handle case where there is no update
[oweals/gnunet.git] / src / fs / test_gnunet_service_fs_p2p.c
index ddaff544fbd3b36428ec6f6290e15c6c71e194ad..e37a322b8cc56a16ae40e2335bf7a0be823b683a 100644 (file)
@@ -121,7 +121,7 @@ do_publish (void *cls,
 {
   unsigned int i;
  
-  if (NULL != strstr (progname, "stream"))
+  if (NULL != strstr (progname, "mesh"))
     anonymity_level = 0;
   else
     anonymity_level = 1;
@@ -143,7 +143,7 @@ main (int argc, char *argv[])
   const char *config;
 
   progname = argv[0];
-  if (NULL != strstr (progname, "stream"))
+  if (NULL != strstr (progname, "mesh"))
     config = "test_gnunet_service_fs_p2p_mesh.conf";
   else
     config = "fs_test_lib_data.conf";