Parent Directory | Revision Log | Patch
revision 602 by stargo, Sat Feb 7 17:32:21 2004 UTC | revision 603 by stargo, Sat Feb 7 18:47:06 2004 UTC | |
---|---|---|
# | Line 44 printer_enum_devices(uint32 *id, char *o | Line 44 printer_enum_devices(uint32 *id, char *o |
44 | pprinter_data = (PRINTER *) xmalloc(sizeof(PRINTER)); | pprinter_data = (PRINTER *) xmalloc(sizeof(PRINTER)); |
45 | ||
46 | strcpy(g_rdpdr_device[*id].name, "PRN"); | strcpy(g_rdpdr_device[*id].name, "PRN"); |
47 | strcat(g_rdpdr_device[*id].name, ltoa(already + count + 1, 10)); | strcat(g_rdpdr_device[*id].name, l_to_a(already + count + 1, 10)); |
48 | ||
49 | /* first printer is set as default printer */ | /* first printer is set as default printer */ |
50 | if ((already + count) == 0) | if ((already + count) == 0) |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |