diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-03-13 00:21:32 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-03-13 00:21:32 +0100 |
commit | 89e2a39d1ee66a233b1cd21606ba66b32b902b08 (patch) | |
tree | 1d7ec485182914b5531e3a60ece68153356a3c9b /src/blogc-make/reloader.c | |
parent | adf8bbccc3189836ea14f8a6583575cc910133ad (diff) | |
download | blogc-89e2a39d1ee66a233b1cd21606ba66b32b902b08.tar.gz blogc-89e2a39d1ee66a233b1cd21606ba66b32b902b08.tar.bz2 blogc-89e2a39d1ee66a233b1cd21606ba66b32b902b08.zip |
make: fixed context reloading
this bug was reported by clang-analyzer.
Diffstat (limited to 'src/blogc-make/reloader.c')
-rw-r--r-- | src/blogc-make/reloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-make/reloader.c b/src/blogc-make/reloader.c index 0edbee7..6b30974 100644 --- a/src/blogc-make/reloader.c +++ b/src/blogc-make/reloader.c @@ -25,7 +25,7 @@ bm_reloader_thread(void *arg) { bm_reloader_t *reloader = arg; while (reloader->running) { - if (!bm_ctx_reload(reloader->ctx)) { + if (!bm_ctx_reload(&(reloader->ctx))) { fprintf(stderr, "blogc-make: warning: failed to reload context. " "retrying in 5 seconds ...\n\n"); sleep(5); |