summaryrefslogtreecommitdiffstats
path: root/source3/printing/pcap.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-01-16 06:29:38 +0000
committerJeremy Allison <jra@samba.org>1998-01-16 06:29:38 +0000
commitfec28f2defa17974b2eaafdd10599cf37850ca16 (patch)
treefb3fec96d97e5f7665e8f5c0df01642d4f08f764 /source3/printing/pcap.c
parent7ab9d270fe9fcc0360672ff8e163aba985c69aea (diff)
downloadsamba-fec28f2defa17974b2eaafdd10599cf37850ca16.tar.gz
samba-fec28f2defa17974b2eaafdd10599cf37850ca16.tar.xz
samba-fec28f2defa17974b2eaafdd10599cf37850ca16.zip
Makefile: Added new codepage - 866.
charset.c: Supporting code for codepage 866. clientutil.c: Fix compile bug in little-used #define. includes.h: Supporting code for codepage 866. make_smbcodepage.c: Supporting code for codepage 866. pcap.c: Fix bug for lpstat. Jeremy. (This used to be commit 6040d7a39e5d5ab426905aa79b871df815fb9b62)
Diffstat (limited to 'source3/printing/pcap.c')
-rw-r--r--source3/printing/pcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c
index ff0a2b54772..bff81b8661d 100644
--- a/source3/printing/pcap.c
+++ b/source3/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;