search for: populate_printers

Displaying 1 result from an estimated 1 matches for "populate_printers".

1998 Apr 22
0
Patch for print_svid.c
...it to the cache */ if ((ptmp = malloc(sizeof (*ptmp))) != NULL) { memset(ptmp, '\0', sizeof (*ptmp)); ptmp->name = strdup(name); + ptmp->comment = strdup(comment); ptmp->next = printers; printers = ptmp; } @@ -95,7 +110,7 @@ if (printers == NULL) populate_printers(); for (tmp = printers; tmp != NULL; tmp = tmp->next) - (fn)(tmp->name, ""); + (fn)(tmp->name, tmp->comment); }