Added an important comment

This commit is contained in:
Pierre Pronchery 2010-05-28 00:31:07 +00:00
parent fbc0cc442f
commit 6cd295c97d

View File

@ -1412,7 +1412,7 @@ static int _gsm_trigger_cmgr(GSM * gsm, char const * result)
/* PDU mode support */ /* PDU mode support */
if(sscanf(result, "%u,%u,%u", &mbox, &alpha, length) == 3 if(sscanf(result, "%u,%u,%u", &mbox, &alpha, length) == 3
|| sscanf(result, "%u,,%u", &mbox, length) == 2) || sscanf(result, "%u,,%u", &mbox, length) == 2)
return 0; return 0; /* we need to wait for the next line */
/* message content */ /* message content */
if(*length == 0) /* XXX assumes this is text mode */ if(*length == 0) /* XXX assumes this is text mode */
{ {