diff options
author | Gerald Carter <jerry@samba.org> | 2004-03-09 15:29:16 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-03-09 15:29:16 +0000 |
commit | f089f978c22513fd88216b83a1b877cb8798c834 (patch) | |
tree | ed098a80f1f2c9a5ca0684e3e5fa4c6b9ab00fca /source3/smbd/reply.c | |
parent | 32665c36c88d9f650baa33248275b711799fd300 (diff) | |
download | samba-f089f978c22513fd88216b83a1b877cb8798c834.tar.gz samba-f089f978c22513fd88216b83a1b877cb8798c834.tar.bz2 samba-f089f978c22513fd88216b83a1b877cb8798c834.zip |
fix build with gcc 2.96 and --with-developer
(This used to be commit 11fc4da07f232c38e04c6443e5d0f829e16b0a18)
Diffstat (limited to 'source3/smbd/reply.c')
-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); |