Browse Source

TT#111357 fix infinite loop

closes #1205

Change-Id: I45b1506f6eab83841a4dee0a2b87e036b7ab2f5c
pull/1219/head
Richard Fuchs 5 years ago
parent
commit
702044bd88
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      recording-daemon/output.c

+ 1
- 1
recording-daemon/output.c View File

@ -66,7 +66,7 @@ static void create_parent_dirs(char *dir) {
int existed = errno == EEXIST;
if (!existed)
ilog(LOG_WARN, "Failed to create directory '%s': %s", dir, strerror(errno));
*p = G_DIR_SEPARATOR;
*p++ = G_DIR_SEPARATOR;
if (!existed) // no point in continuing
break;
continue;


Loading…
Cancel
Save