diff options
Diffstat (limited to 'source/printing/pcap.c')
-rw-r--r-- | source/printing/pcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/printing/pcap.c b/source/printing/pcap.c index ff0a2b54772..bff81b8661d 100644 --- a/source/printing/pcap.c +++ b/source/printing/pcap.c @@ -267,7 +267,7 @@ BOOL pcap_printername_ok(char *pszPrintername, char *pszPrintcapname) #endif #ifdef AIX - if (strlocate(psz,"/qconfig") != NULL) + if (strlocate(psz,"/qconfig")) return(ScanQconfig(psz,pszPrintername)); #endif @@ -336,7 +336,7 @@ void pcap_printer_fn(void (*fn)()) #endif #ifdef AIX - if (strlocate(psz,"/qconfig") != NULL) + if (strlocate(psz,"/qconfig")) { ScanQconfig_fn(psz,fn); return; |