From abe944bb43c457246a7f0e932b4dcf2d5c4bc40c Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 30 Oct 2010 21:30:41 +0100 Subject: More tab cleanups --- blasms.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/blasms.c b/blasms.c index 84a3a2e..b95e6a6 100644 --- a/blasms.c +++ b/blasms.c @@ -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]) { -- cgit v1.2.3