aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/reloader.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-14 01:20:27 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-14 01:20:27 +0100
commit20316ce96980918d1a1c421670c38a3ff7665576 (patch)
treedad620b8279702d6a589de2521d2cfa0b4dd26be /src/blogc-make/reloader.c
parent2c0da26daa81caf40461758bbab5ff494534def4 (diff)
downloadblogc-20316ce96980918d1a1c421670c38a3ff7665576.tar.gz
blogc-20316ce96980918d1a1c421670c38a3ff7665576.tar.bz2
blogc-20316ce96980918d1a1c421670c38a3ff7665576.zip
Revert "Revert "make: fixed context reloading""
This reverts commit 6dc12e00c852b143429b3db0c01cb9abcf102b8f.
Diffstat (limited to 'src/blogc-make/reloader.c')
-rw-r--r--src/blogc-make/reloader.c2
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);