diff options
Diffstat (limited to 'src/sc_parse.c')
-rw-r--r-- | src/sc_parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sc_parse.c b/src/sc_parse.c index c8eea6f..8265a13 100644 --- a/src/sc_parse.c +++ b/src/sc_parse.c @@ -296,6 +296,7 @@ static void recursive_show_sc_blocks(const char *prefix, const SCBlock *bl) void show_sc_block(const SCBlock *bl, const char *prefix) { printf("%s (%p) ", prefix, bl); + if ( bl == NULL ) return; if ( bl->name != NULL ) printf("\\%s ", bl->name); if ( bl->options != NULL ) printf("[%s] ", bl->options); if ( bl->contents != NULL ) printf("{%s} ", bl->contents); |