X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Famandates.c;h=c16b246fb81904e92dd9c1861236ceea760820bf;hb=d97071000e65ce0c52c9043046acdc1c125397b0;hp=abbef3626c19d5a40deb41586cc20733b0b0f63d;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/client-src/amandates.c b/client-src/amandates.c index abbef36..c16b246 100644 --- a/client-src/amandates.c +++ b/client-src/amandates.c @@ -57,8 +57,10 @@ start_amandates( int ch; char *qname; - if (amandates_file == NULL) + if (amandates_file == NULL) { + errno = 0; return 0; + } /* clean up from previous invocation */