summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-09-05 04:22:16 +0000
committerTim Potter <tpot@samba.org>2002-09-05 04:22:16 +0000
commit481c0db0acf6bf305a630aae9751a6d9655e0cda (patch)
tree98648baea539b9fb28fcecd8dd282a7e9eafbbec /source3/printing
parent58b5b6f4036c8d958a62b813b46e873c052a0327 (diff)
downloadsamba-481c0db0acf6bf305a630aae9751a6d9655e0cda.tar.gz
samba-481c0db0acf6bf305a630aae9751a6d9655e0cda.tar.bz2
samba-481c0db0acf6bf305a630aae9751a6d9655e0cda.zip
Roussed on Jeremy for not putting in enough debugs in the new print
notify stuff. (-: (This used to be commit 87c156704f5d8913cf7bf3134ec5ba6403d36cca)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/notify.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c
index 4bde6a94f6..728ef47d8a 100644
--- a/source3/printing/notify.c
+++ b/source3/printing/notify.c
@@ -86,6 +86,9 @@ void print_notify_send_messages(void)
offset += pq->buflen;
}
+ DEBUG(5, ("print_notify_send_messages: sending %d print notify message%s\n",
+ msg_count, msg_count != 1 ? "s" : ""));
+
message_send_all(tdb, MSG_PRINTER_NOTIFY2, buf, offset, False, NULL);
talloc_destroy_pool(send_ctx);
notify_queue_head = NULL;
@@ -149,6 +152,9 @@ again:
pnqueue->buf = buf;
pnqueue->buflen = buflen;
+
+ DEBUG(5, ("send_spoolss_notify2_msg: appending message 0x%02x/0x%02x to notify_queue_head\n", msg->type, msg->field));
+
DLIST_ADD(notify_queue_head, pnqueue);
return;