X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Famandates.c;h=f7a3c640ffb0b72d3a042ea4e69935fa72714c05;hb=d28952249e392eb31bc8eecc53f6c477f30c617b;hp=abbef3626c19d5a40deb41586cc20733b0b0f63d;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/client-src/amandates.c b/client-src/amandates.c index abbef36..f7a3c64 100644 --- a/client-src/amandates.c +++ b/client-src/amandates.c @@ -1,6 +1,7 @@ /* * Amanda, The Advanced Maryland Automatic Network Disk Archiver * Copyright (c) 1991-1998 University of Maryland at College Park + * Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved. * All Rights Reserved. * * Permission to use, copy, modify, distribute, and sell this software and its @@ -57,8 +58,10 @@ start_amandates( int ch; char *qname; - if (amandates_file == NULL) + if (amandates_file == NULL) { + errno = 0; return 0; + } /* clean up from previous invocation */