mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
parent
75731f8c23
commit
db0631f2d0
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user