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:
75731f8
)
don't parse blank lines
author
Andrew Tridgell
<tridge@samba.org>
Tue, 18 Apr 2000 02:35:14 +0000
(
02:35
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 18 Apr 2000 02:35:14 +0000
(
02:35
+0000)
(This used to be commit
8b1afe7e1af0a62244632e0a58b9e513ab4366f0
)
source3/printing/nt_printing.c
patch
|
blob
|
history
diff --git
a/source3/printing/nt_printing.c
b/source3/printing/nt_printing.c
index 44f228880a8e51fe011c23a208d13765fe464bae..848344f15e94765efd2b4cf9cd307ea95e72f92d 100644
(file)
--- a/
source3/printing/nt_printing.c
+++ b/
source3/printing/nt_printing.c
@@
-939,6
+939,8
@@
static uint32 get_a_printer_2(NT_PRINTER_INFO_LEVEL_2 **info_ptr, fstring sharen
for (i=0; lines[i]; i++) {
char *line = lines[i];
+ if (!*line) continue;
+
v=strncpyn(p, line, sizeof(p), ':');
if (v==NULL)
{