summaryrefslogtreecommitdiff
path: root/source/printing/print_svid.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-01-30 05:22:45 +0000
committerHerb Lewis <herb@samba.org>1998-01-30 05:22:45 +0000
commit8f48a0571a4dda282bd3438e54a029400b7ca448 (patch)
treef2dc34550205756e6b754cd10df0cef1984dfe60 /source/printing/print_svid.c
parentfa5466805685d461564054d7d9947948fc56ae93 (diff)
downloadsamba-8f48a0571a4dda282bd3438e54a029400b7ca448.tar.gz
fix bug when using lpstat as printcap file - remove space at start of
printer names generated
Diffstat (limited to 'source/printing/print_svid.c')
-rw-r--r--source/printing/print_svid.c2
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)