diff options
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/pcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c index 62010706bb..fb2409fd38 100644 --- a/source3/printing/pcap.c +++ b/source3/printing/pcap.c @@ -385,7 +385,7 @@ void pcap_printer_fn(void (*fn)(char *, char *)) BOOL has_punctuation; if ((q = strchr(p,'|'))) *q++ = 0; - has_punctuation = (strchr(p,' ') || strchr(p,'(') || strchr(p,')')); + has_punctuation = (strchr(p,' ') || strchr(p,'\t') || strchr(p,'(') || strchr(p,')')); if (strlen(p)>strlen(comment) && has_punctuation) { @@ -411,7 +411,7 @@ void pcap_printer_fn(void (*fn)(char *, char *)) comment[60] = 0; name[MAXPRINTERLEN] = 0; - if (*name) + if (*name) fn(name,comment); } fclose(pfile); |