Adds 2017 to copyrights
[src/app-framework-binder.git] / src / afb-thread.c
index 5ce0930..790b86b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 "IoT.bzh"
+ * Copyright (C) 2016, 2017 "IoT.bzh"
  * Author José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -293,6 +293,7 @@ void afb_thread_call(struct afb_req req, void (*callback)(struct afb_req req), i
        job->callback = callback;
        job->req = req;
        job->timeout = timeout;
+       job->blocked = 0;
        job->group = group;
        afb_req_addref(req);
        job_add(job);