git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4b68342
)
fix build with gcc 2.96 and --with-developer
author
Gerald Carter
<jerry@samba.org>
Tue, 9 Mar 2004 15:29:40 +0000
(15:29 +0000)
committer
Gerald Carter
<jerry@samba.org>
Tue, 9 Mar 2004 15:29:40 +0000
(15:29 +0000)
(This used to be commit
45b2efd60a3c3c9f01b1ccaa828904a70d70d67d
)
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 1ff969493edbe2f0fa0853dc8e97a8ea11359ada..5bf8ca0a2d011c81edfb4aba9eec5f3f43eddde3 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-146,10
+146,10
@@
size_t srvstr_get_path(char *inbuf, char *dest, const char *src, size_t dest_len
{
pstring tmppath;
char *tmppath_ptr = tmppath;
+ size_t ret;
#ifdef DEVELOPER
SMB_ASSERT(dest_len == sizeof(pstring));
#endif
- size_t ret;
if (src_len == 0) {
ret = srvstr_pull_buf( inbuf, tmppath_ptr, src, dest_len, flags);