Commit 2885d4c1 authored by 's avatar

Fixed annoying new = NULL [skype.c] message (bug #?).


git-svn-id: file:///home/svn/mapi/trunk@1405 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 48c6bbea
......@@ -333,9 +333,10 @@ static int gnutella_process(mapidflib_function_instance_t *instance,
if((i = isGnutella(instance,pkt,len)) >= 0)
{
new = (struct filters*)malloc(sizeof(struct filters));
if(new == NULL)
if(new == NULL) {
DEBUG_CMD(Debug_Message("new = NULL (malloc failed)"));
}
new->protocol = iph->protocol;
new->saddr = saddr;
new->daddr = daddr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment