revert 4fdabdd166270f00513dc7e3077dce1bbb5c16c2
better quick fix
This commit is contained in:
parent
81b8ed48cf
commit
2e49437ed7
@ -357,12 +357,12 @@ logstore_t *log_find_file(log_t *logdata, const char *destination)
|
||||
return NULL;
|
||||
mylog(LOG_DEBUG, "Creating new logfile for %s: %s",
|
||||
destination, filename);
|
||||
|
||||
}
|
||||
if (!log_add_file(logdata, destination, filename)) {
|
||||
if (filename)
|
||||
free(filename);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
store = hash_get(&logdata->logfgs, destination);
|
||||
assert(store);
|
||||
/* ok we are allocating a new store now, let's set it up for
|
||||
|
Loading…
x
Reference in New Issue
Block a user