X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ws.c;h=347968185390f04fa5aa4fed844eb849e674dd5a;hb=7a322e20bde6e9bfbc7e98aa5a7b376ba53dccb4;hp=5e8732db2456370de870b7d5c3900ac999dde6f2;hpb=7b97a7f27578d7f4ce7cc994e5df303ac5d9c886;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ws.c b/src/afb-ws.c index 5e8732db..34796818 100644 --- a/src/afb-ws.c +++ b/src/afb-ws.c @@ -1,5 +1,5 @@ /* - * Copyright 2016 IoT.bzh + * Copyright (C) 2016 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -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);