X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Famandates.c;h=c16b246fb81904e92dd9c1861236ceea760820bf;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=abbef3626c19d5a40deb41586cc20733b0b0f63d;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;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 */