X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Famandates.c;h=e19d1d5bc973f94a67826cda8515ed682f7de664;hb=691567b16c13087b31ee4c2b6d038e57872fae82;hp=12da1f5b6dc0ba773107f0982bac86cfa71fb561;hpb=e442edb4d5816c4ad107ad9e71164f845eba70ad;p=debian%2Famanda diff --git a/client-src/amandates.c b/client-src/amandates.c index 12da1f5..e19d1d5 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 */