fix for message sending
This commit is contained in:
parent
0cbefa834f
commit
0ade566c11
@ -516,8 +516,10 @@ char *external_editor(struct user_record *user, char *to, char *from, char *quot
|
|||||||
}
|
}
|
||||||
if (user->autosig) {
|
if (user->autosig) {
|
||||||
body2 = (char *)malloz(totlen + 3 + strlen(buffer) + strlen(user->signature));
|
body2 = (char *)malloz(totlen + 3 + strlen(buffer) + strlen(user->signature));
|
||||||
|
totlen += strlen(buffer) + strlen(user->signature) + 3;
|
||||||
} else {
|
} else {
|
||||||
body2 = (char *)malloz(totlen + 2 + strlen(buffer));
|
body2 = (char *)malloz(totlen + 2 + strlen(buffer));
|
||||||
|
totlen += strlen(buffer) + 2;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
body2 = (char *)malloz(totlen + 1);
|
body2 = (char *)malloz(totlen + 1);
|
||||||
|
Reference in New Issue
Block a user