create dir if it does not exist
authorChristian Grothoff <christian@grothoff.org>
Sun, 25 Oct 2009 19:41:01 +0000 (19:41 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 25 Oct 2009 19:41:01 +0000 (19:41 +0000)
src/peerinfo/gnunet-service-peerinfo.c

index b9b242522fcaff214cc6efcdd64a15b2ba3a33e3..11e311c22f60d4b9ef515da62fe68395ce917af0 100644 (file)
@@ -343,6 +343,7 @@ cron_scan_directory_data_hosts (void *cls,
   unsigned int count;
 
   count = 0;
+  GNUNET_DISK_directory_create (networkIdDirectory);
   GNUNET_DISK_directory_scan (networkIdDirectory,
                               &hosts_directory_scan_callback, &count);
   if ((0 == count) && (0 == (++retries & 31)))