aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/atom.c')
-rw-r--r--src/blogc-make/atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-make/atom.c b/src/blogc-make/atom.c
index b953876..9dde35e 100644
--- a/src/blogc-make/atom.c
+++ b/src/blogc-make/atom.c
@@ -50,7 +50,7 @@ static const char atom_template[] =
char*
bm_atom_deploy(bm_settings_t *settings, bc_error_t **err)
{
- if (err == NULL || *err != NULL)
+ if (settings == NULL || err == NULL || *err != NULL)
return NULL;
// this is not really portable