2
0
Fork 0

stat-cache: Fix segfault

This commit is contained in:
Stefan Bühler 2010-03-03 11:51:49 +01:00
parent a31b3ee403
commit 25222e9b1c
1 changed files with 2 additions and 2 deletions

View File

@ -360,12 +360,12 @@ callstat:
}
liHandlerResult li_stat_cache_get(liVRequest *vr, GString *path, struct stat *st, int *err, int *fd) {
return stat_cache_get(vr, path, &st, &err, &fd, TRUE);
return stat_cache_get(vr, path, st, err, fd, TRUE);
}
/* doesn't return HANDLER_WAIT_FOR_EVENT, blocks instead of async lookup */
liHandlerResult li_stat_cache_get_sync(liVRequest *vr, GString *path, struct stat *st, int *err, int *fd) {
return stat_cache_get(vr, path, &st, &err, &fd, FALSE);
return stat_cache_get(vr, path, st, err, fd, FALSE);
}