summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-10-19 13:03:44 +0200
committerGünther Deschner <gd@samba.org>2007-10-19 13:03:49 +0200
commit61e482cfdfec09ed01225320ba6a4acd47081f63 (patch)
tree1b29b0fa1ac68b61388f5c639f04546c5a2b3cf5 /source3/winbindd
parent7f82fbad50906866bbb6c0950795644f1c18b099 (diff)
downloadsamba-61e482cfdfec09ed01225320ba6a4acd47081f63.tar.gz
samba-61e482cfdfec09ed01225320ba6a4acd47081f63.tar.bz2
samba-61e482cfdfec09ed01225320ba6a4acd47081f63.zip
Merge Tridge's fix for the winbind 32/64bit padding.
Guenther (This used to be commit 36578b22f12a7de21df5a795d7702c10d19b1f3d)
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 057790a541..d5f24d7aa2 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -613,8 +613,8 @@ static void request_len_recv(void *private_data, bool success)
}
if (*(uint32 *)(&state->request) != sizeof(state->request)) {
- DEBUG(0,("request_len_recv: Invalid request size received: %d\n",
- *(uint32 *)(&state->request)));
+ DEBUG(0,("request_len_recv: Invalid request size received: %d (expected %u)\n",
+ *(uint32_t *)(&state->request), (uint32_t)sizeof(state->request)));
state->finished = True;
return;
}