mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
bugfix: archiver doesn't add suffix on logname with macro
This commit is contained in:
parent
2d6b43f488
commit
a93ffc825b
@ -358,9 +358,8 @@ unsigned char * dologname (unsigned char *buf, unsigned char *name, const unsign
|
|||||||
|
|
||||||
memset(&fakecli, 0, sizeof(fakecli));
|
memset(&fakecli, 0, sizeof(fakecli));
|
||||||
dobuf2(&fakecli, buf, NULL, NULL, ts, (char *)name);
|
dobuf2(&fakecli, buf, NULL, NULL, ts, (char *)name);
|
||||||
return buf;
|
|
||||||
}
|
}
|
||||||
switch(lt){
|
else switch(lt){
|
||||||
case NONE:
|
case NONE:
|
||||||
sprintf((char *)buf, "%s", name);
|
sprintf((char *)buf, "%s", name);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user