From: Christian Grothoff Date: Sun, 4 Mar 2012 22:55:29 +0000 (+0000) Subject: adding fs/ to all default directory names relating to file sharing X-Git-Tag: initial-import-from-subversion-38251~14444 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6c5ededd4535691d5a7c6b627d8038e41562f9d0;p=oweals%2Fgnunet.git adding fs/ to all default directory names relating to file sharing --- diff --git a/src/fs/fs.conf.in b/src/fs/fs.conf.in index 48c8b5209..0c1a5895b 100644 --- a/src/fs/fs.conf.in +++ b/src/fs/fs.conf.in @@ -1,10 +1,10 @@ [fs] AUTOSTART = YES -INDEXDB = $SERVICEHOME/idxinfo.lst -TRUST = $SERVICEHOME/data/credit/ -IDENTITY_DIR = $SERVICEHOME/identities/ -STATE_DIR = $SERVICEHOME/persistence/ -UPDATE_DIR = $SERVICEHOME/updates/ +INDEXDB = $SERVICEHOME/fs/idxinfo.lst +TRUST = $SERVICEHOME/fs/credit/ +IDENTITY_DIR = $SERVICEHOME/fs/identities/ +STATE_DIR = $SERVICEHOME/fs/persistence/ +UPDATE_DIR = $SERVICEHOME/fs/updates/ @UNIXONLY@ PORT = 2094 HOSTNAME = localhost HOME = $SERVICEHOME diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c index 0efbc7964..d718acb65 100644 --- a/src/fs/fs_api.c +++ b/src/fs/fs_api.c @@ -1711,6 +1711,8 @@ GNUNET_FS_download_sync_ (struct GNUNET_FS_DownloadContext *dc) char *fn; char *dir; + if (0 != (dc->options & GNUNET_FS_DOWNLOAD_IS_PROBE)) + return; /* we don't sync probes */ if (NULL == dc->serialization) { dir = get_download_sync_filename (dc, "", "");