diff options
author | Herb Lewis <herb@samba.org> | 1998-01-30 05:22:45 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-01-30 05:22:45 +0000 |
commit | 8f48a0571a4dda282bd3438e54a029400b7ca448 (patch) | |
tree | f2dc34550205756e6b754cd10df0cef1984dfe60 /source/printing | |
parent | fa5466805685d461564054d7d9947948fc56ae93 (diff) | |
download | samba-8f48a0571a4dda282bd3438e54a029400b7ca448.tar.gz samba-8f48a0571a4dda282bd3438e54a029400b7ca448.tar.xz samba-8f48a0571a4dda282bd3438e54a029400b7ca448.zip |
fix bug when using lpstat as printcap file - remove space at start of
printer names generated
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/print_svid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/print_svid.c b/source/printing/print_svid.c index 3340568b14d..cfdb0f1c340 100644 --- a/source/printing/print_svid.c +++ b/source/printing/print_svid.c @@ -60,7 +60,7 @@ static void populate_printers() if (((tmp = strchr(buf, ' ')) == NULL) || ((tmp = strchr(++tmp, ' ')) == NULL)) continue; - name = tmp++; + name = ++tmp; /* truncate the ": ..." */ if ((tmp = strchr(name, ':')) != NULL) |