summaryrefslogtreecommitdiff
path: root/blasms.c
diff options
context:
space:
mode:
Diffstat (limited to 'blasms.c')
-rw-r--r--blasms.c12
1 files 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]) {