Disable config file copy for Win32 platform.

This commit is contained in:
Klaas Freitag 2012-03-18 15:29:40 +01:00
parent 1ee41f9f97
commit c2a296ae98

View File

@ -30,7 +30,6 @@
#include "csync_log.h"
static int _csync_config_copy_default (const char *config) {
#ifndef _WIN32
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "Copy %s/config/%s to %s", SYSCONFDIR,
CSYNC_CONF_FILE, config);
if (c_copy(SYSCONFDIR "/csync/" CSYNC_CONF_FILE, config, 0644) < 0) {
@ -38,7 +37,6 @@ static int _csync_config_copy_default (const char *config) {
return -1;
}
}
#endif
return 0;
}