Changeset 988 for vendor/current/source3/printing/load.c
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/printing/load.c
r746 r988 21 21 #include "printing/pcap.h" 22 22 #include "printing/load.h" 23 #include "lib/param/loadparm.h" 23 24 24 25 /*************************************************************************** … … 40 41 return; 41 42 42 auto_serv = lp_auto_services( );43 auto_serv = lp_auto_services(talloc_tos()); 43 44 str = SMB_STRDUP(auto_serv); 44 45 TALLOC_FREE(auto_serv); … … 65 66 struct messaging_context *msg_ctx) 66 67 { 67 SMB_ASSERT(pcap_cache_loaded( ));68 SMB_ASSERT(pcap_cache_loaded(NULL)); 68 69 69 70 add_auto_printers(); … … 71 72 /* load all printcap printers */ 72 73 if (lp_load_printers() && lp_servicenumber(PRINTERS_NAME) >= 0) 73 pcap_printer_ fn(lp_add_one_printer, NULL);74 pcap_printer_read_fn(lp_add_one_printer, NULL); 74 75 }
Note:
See TracChangeset
for help on using the changeset viewer.