summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/print_svid.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/printing/print_svid.c b/source3/printing/print_svid.c
index 22ddbe70b9..f3573961d9 100644
--- a/source3/printing/print_svid.c
+++ b/source3/printing/print_svid.c
@@ -71,6 +71,19 @@ static void populate_printers(void)
tmp=strchr_m(tmp, ' ');
tmp++;
}
+
+ /* Eat whitespace. */
+
+ while(*tmp == ' ')
+ ++tmp;
+
+ /*
+ * On HPUX there is an extra line that can be ignored.
+ * d.thibadeau 2001/08/09
+ */
+ if(!strncmp("remote to",name,9))
+ continue;
+
name = tmp;
/* truncate the ": ..." */