diff options
author | Jim McDonough <jmcd@samba.org> | 2002-05-10 00:07:37 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-05-10 00:07:37 +0000 |
commit | 961352403f169cbcbf899e7e24dd31473948f785 (patch) | |
tree | b407d992072474ef20b2cf47da60ee156ab295b1 /source3/printing | |
parent | 7d51e60663f444cdbeb6121788a4780e87326e42 (diff) | |
download | samba-961352403f169cbcbf899e7e24dd31473948f785.tar.gz samba-961352403f169cbcbf899e7e24dd31473948f785.tar.bz2 samba-961352403f169cbcbf899e7e24dd31473948f785.zip |
Fix build. Changed MSG_PRINTER_UPDATE to MSG_PRINTER_DRVUPGRADE.
Jeremy, please verify that this was ok...
(This used to be commit f191563c7f1cfb7250327333a9470edc4dbedde1)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index d7ac1f49c7..b599d8d7ea 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -520,7 +520,7 @@ void start_background_queue(void) if (!print_backend_init()) exit(1); - message_register(MSG_PRINTER_UPDATE, print_queue_receive); + message_register(MSG_PRINTER_DRVUPGRADE, print_queue_receive); DEBUG(5,("start_background_queue: background LPQ thread waiting for messages\n")); while (1) { @@ -537,7 +537,7 @@ update the internal database from the system print queue for a queue static void print_queue_update(int snum) { if (background_lpq_updater_pid > 0) { - message_send_pid(background_lpq_updater_pid, MSG_PRINTER_UPDATE, + message_send_pid(background_lpq_updater_pid, MSG_PRINTER_DRVUPGRADE, &snum, sizeof(snum), False); } } |