diff --git a/src/modems/hayes.c b/src/modems/hayes.c index 576034b..721d180 100644 --- a/src/modems/hayes.c +++ b/src/modems/hayes.c @@ -4215,8 +4215,7 @@ static void _on_code_cusd(HayesChannel * channel, char const * answer) unsigned int u; char buf[32]; - /* FIXME really implement */ - if(sscanf(answer, "%u\"%31[^\"]\",%u", &u, buf, &u) >= 2) + if(sscanf(answer, "%u,\"%31[^\"]\",%u", &u, buf, &u) >= 2) { buf[sizeof(buf) - 1] = '\0'; event->notification.content = buf;