Simpler way of deleting contacts

This commit is contained in:
Pierre Pronchery 2011-08-21 21:14:22 +00:00
parent ada2a20136
commit a0af912052

View File

@ -811,7 +811,7 @@ static char * _request_attention_contact_delete(ModemPlugin * modem,
/* FIXME store in the command itself */ /* FIXME store in the command itself */
hayes->events[MODEM_EVENT_TYPE_CONTACT_DELETED].contact_deleted.id = id; hayes->events[MODEM_EVENT_TYPE_CONTACT_DELETED].contact_deleted.id = id;
snprintf(buf, sizeof(buf), "%s%u%s", cmd, id, ",\"\""); snprintf(buf, sizeof(buf), "%s%u%s", cmd, id, ",");
return strdup(buf); return strdup(buf);
} }