1
0
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:
Herb Lewis 0001-01-01 00:00:00 +00:00
parent fa54668056
commit 8f48a0571a

View File

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