* Added: $guid to esay variables

* Added: New bigsay font: spider, use with .bigsay -spider cowabunga!
 * Fixed: Error in printing pointers would make lots of debug output go missing
 * Changed: Debug output (./energymech -d -o <file>) now appends instead of truncating
 * Fixed: Botnet auth messages now propagate correctly throughout the botnet
This commit is contained in:
joonicks
2018-04-22 02:34:04 +02:00
parent 808269bb68
commit 0e6f3c4b73
15 changed files with 312 additions and 68 deletions

View File

@@ -194,18 +194,20 @@ Strp *prepend_strp(Strp **pp, const char *string)
}
/*
* Free() a chain of Strp's
* Free() a whole linked list of any suitable type (Strp, Banlist)
*/
void purge_strplist(Strp *sp)
void purge_linklist(void **list)
{
Strp *nxt;
Strp *sp,*nxt;
sp = *list;
while(sp)
{
nxt = sp->next;
Free((char**)&sp);
sp = nxt;
}
*list = NULL;
}
/*