diff options
author | Günther Deschner <gd@samba.org> | 2009-03-18 16:37:33 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-03-18 16:47:01 +0100 |
commit | 31106cdace883de16d5810386d69fc3da7d37c61 (patch) | |
tree | 52845d2a8b65989745892588348f4bb7d7126f79 /source3/rpcclient | |
parent | e61c9ca36d48167ea14d7d7cc41ac43a803d3aca (diff) | |
download | samba-31106cdace883de16d5810386d69fc3da7d37c61.tar.gz samba-31106cdace883de16d5810386d69fc3da7d37c61.tar.bz2 samba-31106cdace883de16d5810386d69fc3da7d37c61.zip |
s3-spoolss: use printer and job notify enums provided by idl.
Guenther
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 3dc88af7f1..86f0cd8c5b 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -2705,7 +2705,7 @@ static WERROR cmd_spoolss_rffpcnex(struct rpc_pipe_client *cli, result = WERR_NOMEM; goto done; } - option.types[0].fields[0].field = PRINTER_NOTIFY_SERVER_NAME; + option.types[0].fields[0].field = PRINTER_NOTIFY_FIELD_SERVER_NAME; option.types[1].type = JOB_NOTIFY_TYPE; option.types[1].count = 1; @@ -2714,7 +2714,7 @@ static WERROR cmd_spoolss_rffpcnex(struct rpc_pipe_client *cli, result = WERR_NOMEM; goto done; } - option.types[1].fields[0].field = JOB_NOTIFY_PRINTER_NAME; + option.types[1].fields[0].field = JOB_NOTIFY_FIELD_PRINTER_NAME; clientname = talloc_asprintf(mem_ctx, "\\\\%s", global_myname()); if (!clientname) { |