diff --git a/src/3proxy.c b/src/3proxy.c index 09835e9..833c02e 100644 --- a/src/3proxy.c +++ b/src/3proxy.c @@ -358,9 +358,8 @@ unsigned char * dologname (unsigned char *buf, unsigned char *name, const unsign memset(&fakecli, 0, sizeof(fakecli)); dobuf2(&fakecli, buf, NULL, NULL, ts, (char *)name); - return buf; } - switch(lt){ + else switch(lt){ case NONE: sprintf((char *)buf, "%s", name); break;