bugfix: archiver doesn't add suffix if logname contains macro

This commit is contained in:
z3APA3A 2015-06-05 15:55:43 +03:00
parent c3871caf2a
commit 5ef18c48f1

View File

@ -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;