diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-10-30 01:57:53 +0100 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-10-30 01:57:53 +0100 |
commit | f3e1be947e75cfd1333d1a2918019374b125b6a7 (patch) | |
tree | 24da285c1496f94746d2f671646e13c048694142 | |
parent | 4e59ebc5eb23805b596b4f60011ec233bc3f8d3f (diff) |
Remove unnecessary commented debug lines
-rw-r--r-- | blasms.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -71,7 +71,6 @@ void setname(char* telnum) { if ((strchrp = strchr(line + offset + 1, ' ')) != NULL) { line[strchrp - line] = '\0'; } - //printf("Name match: %s\n", line); strcat(telnum, " ("); strcat(telnum, line + offset + 1); strcat(telnum, ")"); @@ -224,7 +223,6 @@ int main(int argc, char *argv[]) { while (fgets(line, 1024, fp) != NULL) { remtrailn(line); - //printf("%s\n", line); if ((strchrp = strchr(line, ' ')) != NULL) { offset = strchrp - line; if (offset > 10) { @@ -235,7 +233,6 @@ int main(int argc, char *argv[]) { configcmd[offset] = '\0'; if (!strcmp(configcmd, "default")) { strcpy(defaultcmd, line + offset + 1); - //printf("Default command: %s\n", defaultcmd); continue; } /* If the SMS command doesn't end here, continue */ @@ -244,7 +241,6 @@ int main(int argc, char *argv[]) { } strxfrm(smscommand, sms, offset); smscommand[offset] = '\0'; - //printf("SMS command: %s\n", smscommand); if (!strcmp(smscommand, configcmd)) { match = 1; break; @@ -253,15 +249,12 @@ int main(int argc, char *argv[]) { } if (match) { - //printf("Command match!\n"); strcpy(systemcmd, line + offset + 1); } else { - //printf("Using default command.\n"); strcpy(systemcmd, defaultcmd); offset = -1; } - //printf("Command: %s\n", systemcmd); match = 0; for (i = 0; i < strlen(systemcmd); i++) { |