X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwebsock.c;h=e899ee52062dfea5d3ebb212a330f11d94b8de7d;hb=refs%2Fchanges%2F21%2F7521%2F1;hp=9e79559b5a27ab450a1280fd1515bad1fff731a8;hpb=8dff3447cea6df8ab727d9615cd07b3774ccffa0;p=src%2Fapp-framework-binder.git diff --git a/src/websock.c b/src/websock.c index 9e79559b..e899ee52 100644 --- a/src/websock.c +++ b/src/websock.c @@ -1,5 +1,5 @@ /* - * Copyright 2016 iot.bzh + * Copyright (C) 2016 "IoT.bzh" * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -537,7 +537,7 @@ int websock_drop(struct websock *ws) char buffer[8000]; while (ws->length) - if (ws_read(ws, buffer, sizeof buffer) < 0) + if (websock_read(ws, buffer, sizeof buffer) < 0) return -1; return 0; }