git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6e3d1
)
Added fix from Dan Thibadeau @ HP for parsing problem.
author
Jeremy Allison
<jra@samba.org>
Thu, 9 Aug 2001 19:36:12 +0000
(19:36 +0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 9 Aug 2001 19:36:12 +0000
(19:36 +0000)
Jeremy.
source/printing/print_svid.c
patch
|
blob
|
history
diff --git
a/source/printing/print_svid.c
b/source/printing/print_svid.c
index 22ddbe70b95437a409e51d66f1d6e84b7643e8bc..f3573961d9f59aa62df1369f6b45bfc03c87e6ef 100644
(file)
--- a/
source/printing/print_svid.c
+++ b/
source/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 ": ..." */