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 | 06859b2bc99ed505af8c2d656ca722dc73d6cb81 (patch) | |
tree | 0a04365ff6bbab0bd015fae77d627dec53416d3b /source3 | |
parent | 89652787c3894c7a79345a2ea67a4de741a0f760 (diff) | |
download | samba-06859b2bc99ed505af8c2d656ca722dc73d6cb81.tar.gz samba-06859b2bc99ed505af8c2d656ca722dc73d6cb81.tar.bz2 samba-06859b2bc99ed505af8c2d656ca722dc73d6cb81.zip |
fix bug when using lpstat as printcap file - remove space at start of
printer names generated
(This used to be commit 8f48a0571a4dda282bd3438e54a029400b7ca448)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/print_svid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_svid.c b/source3/printing/print_svid.c index 3340568b14..cfdb0f1c34 100644 --- a/source3/printing/print_svid.c +++ b/source3/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) |