mirror of
https://github.com/3proxy/3proxy.git
synced 2025-04-22 04:02:08 +08:00
bugfix: archiver doesn't add suffix if logname contains macro
This commit is contained in:
parent
c3871caf2a
commit
5ef18c48f1
@ -360,9 +360,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