diff options
author | Günther Deschner <gd@samba.org> | 2010-05-18 12:26:52 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-18 12:27:31 +0200 |
commit | f6445d8f860fa8f771e6c8986b8eda6cc00c7793 (patch) | |
tree | b6327c8195ccce92a690d776d7a6cacd87bcb79a | |
parent | c0fb7b8180f7383590f24e84cc3700aa77499112 (diff) | |
download | samba-f6445d8f860fa8f771e6c8986b8eda6cc00c7793.tar.gz samba-f6445d8f860fa8f771e6c8986b8eda6cc00c7793.tar.bz2 samba-f6445d8f860fa8f771e6c8986b8eda6cc00c7793.zip |
s3-build: fix the build.
Guenther
-rw-r--r-- | source3/lib/ctdbd_conn.c | 4 | ||||
-rw-r--r-- | source3/smbd/nttrans.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 6b50009e00..b4e7151b6f 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -257,7 +257,7 @@ static struct messaging_rec *ctdb_pull_messaging_rec(TALLOC_CTX *mem_ctx, blob = data_blob_const(msg->data, msg->datalen); ndr_err = ndr_pull_struct_blob( - &blob, result, NULL, result, + &blob, result, result, (ndr_pull_flags_fn_t)ndr_pull_messaging_rec); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { @@ -670,7 +670,7 @@ NTSTATUS ctdbd_messaging_send(struct ctdbd_connection *conn, } ndr_err = ndr_push_struct_blob( - &blob, mem_ctx, NULL, msg, + &blob, mem_ctx, msg, (ndr_push_flags_fn_t)ndr_push_messaging_rec); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index d0c0a30c56..6a6f620ee9 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -2478,7 +2478,7 @@ static void call_nt_transact_get_user_quota(connection_struct *conn, tmp_list=tmp_list->next,entry+=entry_len,qt_len+=entry_len) { sid_len = ndr_size_dom_sid( - &tmp_list->quotas->sid, NULL, 0); + &tmp_list->quotas->sid, 0); entry_len = 40 + sid_len; /* nextoffset entry 4 bytes */ |