git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa54668
)
fix bug when using lpstat as printcap file - remove space at start of
author
Herb Lewis
<herb@samba.org>
Fri, 30 Jan 1998 05:22:45 +0000
(
05:22
+0000)
committer
Herb Lewis
<herb@samba.org>
Fri, 30 Jan 1998 05:22:45 +0000
(
05:22
+0000)
printer names generated
source/printing/print_svid.c
patch
|
blob
|
history
diff --git
a/source/printing/print_svid.c
b/source/printing/print_svid.c
index 3340568b14d5ac5b863faa60a717a8a53f0d55c9..cfdb0f1c340357a2dd87f744603a4e8cf3fbe09d 100644
(file)
--- 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)