diff options
Diffstat (limited to 'blasms.c')
-rw-r--r-- | blasms.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -221,6 +221,10 @@ int main(int argc, char *argv[]) { //printf("Default command: %s\n", defaultcmd); continue; } + /* If the SMS command doesn't end here, continue */ + if (sms[offset] != ' ') { + continue; + } strxfrm(smscommand, sms, offset); smscommand[offset] = '\0'; //printf("SMS command: %s\n", smscommand); |