1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

don't parse blank lines

(This used to be commit 8b1afe7e1a)
This commit is contained in:
Andrew Tridgell 2000-04-18 02:35:14 +00:00
parent 75731f8c23
commit db0631f2d0

View File

@ -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)
{