mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
fix build with gcc 2.96 and --with-developer
(This used to be commit 45b2efd60a3c3c9f01b1ccaa828904a70d70d67d)
This commit is contained in:
parent
4b683427ac
commit
4aeb6b32a3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user