X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Freqstat.c;h=18349529fa35681bf6c245a8f2ebeac62a7f4cdf;hb=4e564b59c7c565387c4907017dfacce2ef761f8a;hp=d3d849fd597b09cf129fad60a3128c6015b4952f;hpb=a77b52c86516752280fe9b7dd2b72fead11060b0;p=doldaconnect.git diff --git a/daemon/reqstat.c b/daemon/reqstat.c index d3d849f..1834952 100644 --- a/daemon/reqstat.c +++ b/daemon/reqstat.c @@ -73,6 +73,8 @@ void xainc(wchar_t *file, char *an, off_t inc) off_t val; char *fn; + if(file[0] != L'/') + return; if((fn = icswcstombs(file, NULL, NULL)) == NULL) { flog(LOG_WARNING, "could not convert filename %ls into local charset: %s", file, strerror(errno)); return;