diff options
author | Anton L. Šijanec <sijanecantonluka@gmail.com> | 2020-05-14 18:22:34 +0200 |
---|---|---|
committer | Anton L. Šijanec <sijanecantonluka@gmail.com> | 2020-05-14 18:22:34 +0200 |
commit | 2b8ef629c516c5920bc110d8050256e8baaf5073 (patch) | |
tree | d237499edd955511cc4f28facb5434bd55a8d4a0 /src/bvrcommands.c | |
parent | security mc (diff) | |
download | bverbose-2b8ef629c516c5920bc110d8050256e8baaf5073.tar bverbose-2b8ef629c516c5920bc110d8050256e8baaf5073.tar.gz bverbose-2b8ef629c516c5920bc110d8050256e8baaf5073.tar.bz2 bverbose-2b8ef629c516c5920bc110d8050256e8baaf5073.tar.lz bverbose-2b8ef629c516c5920bc110d8050256e8baaf5073.tar.xz bverbose-2b8ef629c516c5920bc110d8050256e8baaf5073.tar.zst bverbose-2b8ef629c516c5920bc110d8050256e8baaf5073.zip |
Diffstat (limited to 'src/bvrcommands.c')
-rw-r--r-- | src/bvrcommands.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bvrcommands.c b/src/bvrcommands.c index f08c0ab..5f58457 100644 --- a/src/bvrcommands.c +++ b/src/bvrcommands.c @@ -97,6 +97,9 @@ int bvr_handle_include(FILE * input, FILE * output) { if(stream == NULL) { strcat(notgoodatnamingvariables, BVR_COMMAND_FILE_EXT); stream = fopen(notgoodatnamingvariables+1, "r"); // ob1 fuckery + if(stream != NULL) { + break; + } } *singlepath = '\0'; } |