diff options
author | Günther Deschner <gd@samba.org> | 2009-03-18 17:45:30 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-04-15 09:07:21 +0200 |
commit | fa86b4a14fefa12c22706c28e5bb5e7e92e6d67e (patch) | |
tree | 8896f5bcdd511995f6f48ee17a4dbf484a0fc10b /source3 | |
parent | 80c1ff42ed5bb980641b5f1ce0b96bfccc83652b (diff) | |
download | samba-fa86b4a14fefa12c22706c28e5bb5e7e92e6d67e.tar.gz samba-fa86b4a14fefa12c22706c28e5bb5e7e92e6d67e.tar.xz samba-fa86b4a14fefa12c22706c28e5bb5e7e92e6d67e.zip |
s3-smbcontrol: use correct PRINTER_NOTIFY flags.
Guenther
(cherry picked from commit 21391f7fbe6c92ba050462750571cda661f5fb8a)
(cherry picked from commit 6ac0a8d45e14deede30f56ab8c4d8288b83f15b4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/smbcontrol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 6ea200bfec5..fc7d0aa360f 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -669,11 +669,11 @@ static bool do_printnotify(struct messaging_context *msg_ctx, } if (strcmp(argv[3], "comment") == 0) { - attribute = PRINTER_NOTIFY_COMMENT; + attribute = PRINTER_NOTIFY_FIELD_COMMENT; } else if (strcmp(argv[3], "port") == 0) { - attribute = PRINTER_NOTIFY_PORT_NAME; + attribute = PRINTER_NOTIFY_FIELD_PORT_NAME; } else if (strcmp(argv[3], "driver") == 0) { - attribute = PRINTER_NOTIFY_DRIVER_NAME; + attribute = PRINTER_NOTIFY_FIELD_DRIVER_NAME; } else { fprintf(stderr, "Invalid printer command '%s'\n", argv[3]); |