aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-20 17:43:12 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-20 17:43:12 -0300
commit8d8f508b859647461d1e9f13eeab647ceae54597 (patch)
tree0c9b9ea00bfebbc904b9f0de193952184be2ec0c /src
parent0e83d31f63b79c062a5a414a494ed3184e5dc0fb (diff)
downloadblogc-8d8f508b859647461d1e9f13eeab647ceae54597.tar.gz
blogc-8d8f508b859647461d1e9f13eeab647ceae54597.tar.bz2
blogc-8d8f508b859647461d1e9f13eeab647ceae54597.zip
minor fix
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 7a7197a..552c322 100644
--- a/src/main.c
+++ b/src/main.c
@@ -82,11 +82,10 @@ blogc_mkdir_recursive(const char *filename)
// FIXME: show this warning only if actually trying to create a directory.
fprintf(stderr, "blogc: warning: can't create output directories "
"for your platform. please create the directories yourself.\n");
- goto cleanup;
+ break;
#endif
}
}
-cleanup:
free(fname);
}