mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
2018 cleanup update
This commit is contained in:
@@ -37,7 +37,7 @@ void make_ireq(int t, char *from, char *nick)
|
||||
char *pt;
|
||||
|
||||
set_mallocdoer(make_ireq);
|
||||
ir = (IReq*)Calloc(sizeof(IReq) + Strlen2(from,nick));
|
||||
ir = (IReq*)Calloc(sizeof(IReq) + Strlen(from,nick,NULL)); // can not use Strlen2() if 2nd arg might be NULL, Strlen() handles NULLs.
|
||||
|
||||
ir->t = t;
|
||||
ir->when = now;
|
||||
|
||||
Reference in New Issue
Block a user