Code cleanup

This commit is contained in:
Pierre Pronchery 2011-10-29 19:02:11 +00:00
parent 671f1a0cba
commit 517bdd97b7

View File

@ -3800,8 +3800,10 @@ static void _modem_event_authentication(Phone * phone, ModemEvent * event)
static void _modem_event_call(Phone * phone, ModemEvent * event)
{
#ifdef DEBUG
fprintf(stderr, "DEBUG: %s() %u %u\n", __func__, event->call.call_type,
event->call.status);
#endif
if(event->call.call_type != MODEM_CALL_TYPE_VOICE
|| event->call.number == NULL)
return; /* XXX ignore these for now */