* $Id: packet.c 3446 2007-05-14 22:21:16Z jilles $
*/
#include "stdinc.h"
-#include "tools.h"
-#include "commio.h"
#include "s_conf.h"
#include "s_serv.h"
#include "client.h"
#include "parse.h"
#include "packet.h"
#include "irc_string.h"
-#include "memory.h"
#include "hook.h"
#include "send.h"
reply->datalen |= *len;
reply->gotdatalen++;
if(reply->datalen > 0)
- reply->data = MyMalloc(reply->datalen);
+ reply->data = rb_malloc(reply->datalen);
}
if(reply->gotdatalen < 2)
/* reset SlinkRpl */
if(reply->datalen > 0)
- MyFree(reply->data);
+ rb_free(reply->data);
reply->command = 0;
if(IsAnyDead(server))