diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-04 22:28:12 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-04 22:28:12 +0100 |
commit | bda4570a0273cffb60ff63743110bc7a8026216b (patch) | |
tree | 236799fc528b2c8027852b07029790235115430e /src/blogc-make/rules.c | |
parent | 6f497276ca155173b4679e069de5b148af2905c0 (diff) | |
download | blogc-bda4570a0273cffb60ff63743110bc7a8026216b.tar.gz blogc-bda4570a0273cffb60ff63743110bc7a8026216b.tar.bz2 blogc-bda4570a0273cffb60ff63743110bc7a8026216b.zip |
make: make the reloader interface generic
this way it can run any rule, even if we don't need this feature now
Diffstat (limited to 'src/blogc-make/rules.c')
-rw-r--r-- | src/blogc-make/rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-make/rules.c b/src/blogc-make/rules.c index 1f4a121..ca4b376 100644 --- a/src/blogc-make/rules.c +++ b/src/blogc-make/rules.c @@ -553,7 +553,7 @@ static int all_exec(bm_ctx_t *ctx, bc_slist_t *outputs, bc_trie_t *args); static int runserver_exec(bm_ctx_t *ctx, bc_slist_t *outputs, bc_trie_t *args) { - bm_reloader_t *reloader = bm_reloader_new(ctx, all_exec); + bm_reloader_t *reloader = bm_reloader_new(ctx, all_exec, outputs, args); int rv = bm_exec_blogc_runserver(ctx, bc_trie_lookup(args, "host"), bc_trie_lookup(args, "port"), bc_trie_lookup(args, "threads")); |