diff options
Diffstat (limited to 'source/printing/print_svid.c')
-rw-r--r-- | source/printing/print_svid.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source/printing/print_svid.c b/source/printing/print_svid.c index 58a1d03f498..5d81843b87b 100644 --- a/source/printing/print_svid.c +++ b/source/printing/print_svid.c @@ -71,6 +71,19 @@ static void populate_printers(void) tmp=strchr(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",tmp,9)) + continue; + name = tmp; /* truncate the ": ..." */ |