summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-01-30 05:22:33 +0000
committerHerb Lewis <herb@samba.org>1998-01-30 05:22:33 +0000
commit8ded678ef45a4c8e45329d4103c9659a39ba40f0 (patch)
tree3a4ee1c1707d00f23ea2237dbb9f1bc3a4b92062 /source
parente611f8fcc5be848eb555da223579cd7d56cf6c3b (diff)
downloadsamba-8ded678ef45a4c8e45329d4103c9659a39ba40f0.tar.gz
samba-8ded678ef45a4c8e45329d4103c9659a39ba40f0.tar.xz
samba-8ded678ef45a4c8e45329d4103c9659a39ba40f0.zip
fix bug when using lpstat as printcap file - remove space at start of
printer names generated
Diffstat (limited to 'source')
-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)