example of integration with websocket in C
[src/app-framework-binder.git] / src / afb-ws.c
index 5e8732d..22d9691 100644 (file)
@@ -272,6 +272,7 @@ int afb_ws_texts(struct afb_ws *ws, ...)
                }
                ios[count].iov_base = (void*)s;
                ios[count].iov_len = strlen(s);
+               count++;
                s = va_arg(args, const char *);
        }
        va_end(args);