diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-07 12:13:26 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-09 12:40:08 +0200 |
commit | 8d4a8389bb2df77ff8923dda8368aa2915652c1a (patch) | |
tree | aba02d7ca688a18a9ecfa2beccfe4e1b8d464c72 /source3/rpc_server/spoolss | |
parent | 5e26e94092b56ee47e7ec7837f7cd0feb3fb0119 (diff) | |
download | samba-8d4a8389bb2df77ff8923dda8368aa2915652c1a.tar.gz samba-8d4a8389bb2df77ff8923dda8368aa2915652c1a.tar.bz2 samba-8d4a8389bb2df77ff8923dda8368aa2915652c1a.zip |
s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()
Using the standard macro makes it easier to move code into common, as
TALLOC_MEMDUP isn't standard talloc.
Diffstat (limited to 'source3/rpc_server/spoolss')
-rw-r--r-- | source3/rpc_server/spoolss/srv_spoolss_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index f397333b4e..1be5100d9e 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -1125,7 +1125,7 @@ static int notify_msg_ctr_addmsg( SPOOLSS_NOTIFY_MSG_CTR *ctr, SPOOLSS_NOTIFY_MS if ( msg->len != 0 ) msg_grp->msgs[new_slot].notify.data = (char *) - TALLOC_MEMDUP( ctr->ctx, msg->notify.data, msg->len ); + talloc_memdup( ctr->ctx, msg->notify.data, msg->len ); return ctr->num_groups; } |