s3: Remove procid_self() from srv_spoolss_drv_upgrade_printer()
authorVolker Lendecke <vl@samba.org>
Sun, 4 Jul 2010 18:18:29 +0000 (20:18 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Jul 2010 09:06:31 +0000 (11:06 +0200)
source3/rpc_server/srv_spoolss_nt.c

index dae9f376d9214138b80dfbdd52a45fa47f9751d5..9a55336cbedbca64edcafd497fdb9af04ed957c2 100644 (file)
@@ -1267,7 +1267,8 @@ static bool srv_spoolss_drv_upgrade_printer(const char *drivername)
        DEBUG(10,("srv_spoolss_drv_upgrade_printer: Sending message about driver upgrade [%s]\n",
                drivername));
 
-       messaging_send_buf(smbd_messaging_context(), procid_self(),
+       messaging_send_buf(smbd_messaging_context(),
+                          messaging_server_id(smbd_messaging_context()),
                           MSG_PRINTER_DRVUPGRADE,
                           (uint8_t *)drivername, len+1);