summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-06-04 00:09:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:53 -0500
commitb7ac82294f83b4b60d23b5ddf2ffe2caf5aef1a6 (patch)
tree840bd966ac32f9368f890237de9ea8adff243d9d /source3
parenta020879964f76c7b00235715883ec897ff83adc0 (diff)
downloadsamba-b7ac82294f83b4b60d23b5ddf2ffe2caf5aef1a6.tar.gz
samba-b7ac82294f83b4b60d23b5ddf2ffe2caf5aef1a6.tar.bz2
samba-b7ac82294f83b4b60d23b5ddf2ffe2caf5aef1a6.zip
r996: Fix error in change to queuing code (dlink).
Jeremy. (This used to be commit 6bd6359090b59d48370e16bb0ddc267a51b361c7)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index efbc66a0ac..72df91a21d 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -74,7 +74,7 @@ static struct pending_message_list *smb_oplock_queue;
for processing.
****************************************************************************/
-static BOOL push_message(struct pending_message_list *list_head, char *buf, int msg_len)
+static BOOL push_message(struct pending_message_list **pplist_head, char *buf, int msg_len)
{
struct pending_message_list *tmp_msg;
struct pending_message_list *msg = (struct pending_message_list *)
@@ -95,7 +95,7 @@ static BOOL push_message(struct pending_message_list *list_head, char *buf, int
memcpy(msg->msg_buf, buf, msg_len);
msg->msg_len = msg_len;
- DLIST_ADD_END(list_head, msg, tmp_msg);
+ DLIST_ADD_END(*pplist_head, msg, tmp_msg);
/* Push the MID of this packet on the signing queue. */
srv_defer_sign_response(SVAL(buf,smb_mid));
@@ -110,7 +110,7 @@ static BOOL push_message(struct pending_message_list *list_head, char *buf, int
BOOL push_oplock_pending_smb_message(char *buf, int msg_len)
{
- return push_message(smb_oplock_queue, buf, msg_len);
+ return push_message(&smb_oplock_queue, buf, msg_len);
}
/****************************************************************************