aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--backends/maweb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/maweb.c b/backends/maweb.c
index 33d2b7e..39ef7a6 100644
--- a/backends/maweb.c
+++ b/backends/maweb.c
@@ -249,7 +249,7 @@ static int maweb_instance(instance* inst){
static channel* maweb_channel(instance* inst, char* spec, uint8_t flags){
maweb_instance_data* data = (maweb_instance_data*) inst->impl;
maweb_channel_data chan = {
- 0
+ .in = -1 //this hack allows the initial data request to push events even for zero'ed channels
};
char* next_token = NULL;
channel* channel_ref = NULL;