diff options
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r-- | source3/lib/util_sock.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 3c974950992..eea153ad91f 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -1380,10 +1380,6 @@ const char *get_peer_name(int fd, bool force_lookup) } } - /* can't pass the same source and dest strings in when you - use --enable-developer or the clobber_region() call will - get you */ - strlcpy(tmp_name, name_buf, sizeof(tmp_name)); alpha_strcpy(name_buf, tmp_name, "_-.", sizeof(name_buf)); if (strstr(name_buf,"..")) { |