From f3e1be947e75cfd1333d1a2918019374b125b6a7 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 30 Oct 2010 01:57:53 +0100 Subject: Remove unnecessary commented debug lines --- blasms.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'blasms.c') diff --git a/blasms.c b/blasms.c index 373296d..d61710e 100644 --- a/blasms.c +++ b/blasms.c @@ -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++) { -- cgit v1.2.3