git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cda0b70
)
Fix a C++ warning
author
Volker Lendecke
<vl@samba.org>
Sat, 10 Jan 2009 12:02:43 +0000
(13:02 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sat, 10 Jan 2009 12:05:34 +0000
(13:05 +0100)
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index 1f24058f253141222bca6655cea9a0705d76fcfa..4b97612ed4c92867d3ccd2d44405d02b8d7dfaba 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-406,8
+406,8
@@
static void smbd_deferred_open_timer(struct event_context *ev,
TALLOC_CTX *mem_ctx = talloc_tos();
uint8_t *inbuf;
- inbuf = talloc_memdup(mem_ctx, msg->buf.data,
- msg->buf.length);
+ inbuf =
(uint8_t *)
talloc_memdup(mem_ctx, msg->buf.data,
+
msg->buf.length);
if (inbuf == NULL) {
exit_server("smbd_deferred_open_timer: talloc failed\n");
return;