stat-cache: Fix segfault

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent a31b3ee403
commit 25222e9b1c
  1. 4
      src/main/stat_cache.c

@ -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);
}

Loading…
Cancel
Save