summaryrefslogtreecommitdiffstats
path: root/source/winbindd/winbindd.c
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
commit36578b22f12a7de21df5a795d7702c10d19b1f3d (patch)
tree3a20b71768721a8cb66027345407d48653de2212 /source/winbindd/winbindd.c
parent9cb1937fe8601e526b5c924930500e0a3b52abd5 (diff)
downloadsamba-36578b22f12a7de21df5a795d7702c10d19b1f3d.tar.gz
samba-36578b22f12a7de21df5a795d7702c10d19b1f3d.tar.xz
samba-36578b22f12a7de21df5a795d7702c10d19b1f3d.zip
Merge Tridge's fix for the winbind 32/64bit padding.
Guenther
Diffstat (limited to 'source/winbindd/winbindd.c')
-rw-r--r--source/winbindd/winbindd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/winbindd/winbindd.c b/source/winbindd/winbindd.c
index 057790a541b..d5f24d7aa2f 100644
--- a/source/winbindd/winbindd.c
+++ b/source/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;
}