diff options
author | Gerald Carter <jerry@samba.org> | 2004-03-09 15:29:40 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-03-09 15:29:40 +0000 |
commit | 4aeb6b32a35edb52a2e000008d1fb24ba9fe4483 (patch) | |
tree | 7824fc2433cb842f62af283a4a243f3a42c86bb8 /source3 | |
parent | 4b683427acea8196cee1c8249ac5f25c98fb568e (diff) | |
download | samba-4aeb6b32a35edb52a2e000008d1fb24ba9fe4483.tar.gz samba-4aeb6b32a35edb52a2e000008d1fb24ba9fe4483.tar.bz2 samba-4aeb6b32a35edb52a2e000008d1fb24ba9fe4483.zip |
fix build with gcc 2.96 and --with-developer
(This used to be commit 45b2efd60a3c3c9f01b1ccaa828904a70d70d67d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 1ff969493e..5bf8ca0a2d 100644 --- 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); |