[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-519-g6ac0a8d

Günther Deschner gd at samba.org
Wed Mar 18 16:47:17 GMT 2009


The branch, v3-4-test has been updated
       via  6ac0a8d45e14deede30f56ab8c4d8288b83f15b4 (commit)
      from  ecc7537b6b0c7921160448b97a3cd8df1f4c77cf (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit 6ac0a8d45e14deede30f56ab8c4d8288b83f15b4
Author: Günther Deschner <gd at samba.org>
Date:   Wed Mar 18 17:45:30 2009 +0100

    s3-smbcontrol: use correct PRINTER_NOTIFY flags.
    
    Guenther
    (cherry picked from commit 21391f7fbe6c92ba050462750571cda661f5fb8a)

-----------------------------------------------------------------------

Summary of changes:
 source3/utils/smbcontrol.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 6ea200b..fc7d0aa 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]);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list