diff options
-rw-r--r-- | source3/printing/notify.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c index feae9c04c1..2df28a9345 100644 --- a/source3/printing/notify.c +++ b/source3/printing/notify.c @@ -79,18 +79,18 @@ again: /* Pack header */ - len += tdb_pack(buf + len, buflen - len, NULL, "f", msg->printer); + len += tdb_pack(buf + len, buflen - len, "f", msg->printer); - len += tdb_pack(buf + len, buflen - len, NULL, "ddddd", + len += tdb_pack(buf + len, buflen - len, "ddddd", msg->type, msg->field, msg->id, msg->len, msg->flags); /* Pack data */ if (msg->len == 0) - len += tdb_pack(buf + len, buflen - len, NULL, "dd", + len += tdb_pack(buf + len, buflen - len, "dd", msg->notify.value[0], msg->notify.value[1]); else - len += tdb_pack(buf + len, buflen - len, NULL, "B", + len += tdb_pack(buf + len, buflen - len, "B", msg->len, msg->notify.data); if (buflen != len) { |