summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/print_svid.c2
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)