/*
- * Copyright (C) 2016 "IoT.bzh"
+ * Copyright (C) 2016, 2017 "IoT.bzh"
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
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;
}