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