&npart->data, &npart->dlen);
}
+ *last = p - (const guchar *)data;
+
return npart;
}
break;
case skip_spaces:
+ *last = p - (const guchar *)data;
+
return npart;
default:
break;
return NULL;
}
+ g_assert (pos != 0);
p += pos;
len = end > p ? end - p : 0;
DL_APPEND (head, cur_part);
return NULL;
}
+ g_assert (pos != 0);
p += pos;
len = end > p ? end - p : 0;
DL_APPEND (head, cur_part);
return NULL;
}
else {
+ g_assert (pos != 0);
p += pos;
len = end > p ? end - p : 0;
DL_APPEND (head, cur_part);
]]
local cases = {
+ {[[from smtp11.mailtrack.pl (smtp11.mailtrack.pl [185.243.30.90])]],
+ {
+ real_ip = '185.243.30.90',
+ real_hostname = 'smtp11.mailtrack.pl'
+ },
+ },
{[[from asx121.turbo-inline.com [7.165.23.113] by mx.reskind.net with QMQP; Fri, 08 Feb 2019 06:56:18 -0500]],
{
real_ip = '7.165.23.113',