This commit is contained in:
Olivier Goffart 2012-12-14 23:05:17 +01:00
parent 96eb138410
commit 00ee9f4960

View file

@ -254,6 +254,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
break;
case ENOENT:
/* get the directory name */
SAFE_FREE(tdir);
tdir = c_dirname(turi);
if (tdir == NULL) {
rc = -1;