diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-10-30 21:30:41 +0100 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-10-30 21:30:41 +0100 |
commit | abe944bb43c457246a7f0e932b4dcf2d5c4bc40c (patch) | |
tree | bd2e72f8dca864349f624a398ac49459f8b1a272 | |
parent | 202e855cb8d78c8a1af9645bf79c7a6ca0713310 (diff) |
More tab cleanups
-rw-r--r-- | blasms.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -57,7 +57,7 @@ void setname(char* telnum) { int offset = 0; fp = fopen("phonebook.conf", "r"); - + if (fp == NULL) { printf("Error opening blasms.conf.\n"); return; @@ -219,16 +219,16 @@ int main(int argc, char *argv[]) { printf("Phone number: %s\n", telnum); printf("Date : %s\n", argv[2]); - + fgets(sms, 500, stdin); if (sms != NULL) { remtrailn(sms); printf("Contents : %s\n", sms); - } + } fp = fopen("blasms.conf", "r"); - + if (fp == NULL) { printf("Error opening blasms.conf.\n"); return 1; @@ -260,7 +260,7 @@ int main(int argc, char *argv[]) { } } } - + if (match) { strcpy(systemcmd, line + offset + 1); } else { @@ -269,7 +269,7 @@ int main(int argc, char *argv[]) { } match = 0; - + for (i = 0; i < strlen(systemcmd); i++) { if (systemcmd[i] == '%') { switch (systemcmd[i+1]) { |