From 06859b2bc99ed505af8c2d656ca722dc73d6cb81 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Fri, 30 Jan 1998 05:22:45 +0000 Subject: fix bug when using lpstat as printcap file - remove space at start of printer names generated (This used to be commit 8f48a0571a4dda282bd3438e54a029400b7ca448) --- source3/printing/print_svid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit