mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
fix bug when using lpstat as printcap file - remove space at start of
printer names generated
This commit is contained in:
parent
fa54668056
commit
8f48a0571a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user