summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blasms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/blasms.c b/blasms.c
index 7aed511..c8127a0 100644
--- a/blasms.c
+++ b/blasms.c
@@ -307,12 +307,12 @@ int main(int argc, char *argv[]) {
if (fp == NULL) {
printf("Error opening message file.\n");
- return 1;
+ break;
}
if (fgets(line, 1024, fp) == NULL) {
printf("Error reading message file.\n");
- return 1;
+ break;
}
fclose(fp);
@@ -325,7 +325,7 @@ int main(int argc, char *argv[]) {
setname(telnum);
} else {
printf("Error, malformed message file.\n");
- return 1;
+ break;
}
replacestr(systemcmd, i, 2, telnum);