Skip to content

Commit

Permalink
bump uv-mbed (#205)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2e36335)
  • Loading branch information
ekoby committed Dec 22, 2020
1 parent a94bbd4 commit 786ff59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions programs/sample_http_link/sample_http_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ limitations under the License.
static uv_loop_t *loop;
static ziti_context ziti;
static um_http_t clt;
static um_http_src_t zs;
static um_src_t zs;

#define DIE(v) do { \
int code = (v);\
Expand Down Expand Up @@ -62,7 +62,7 @@ void on_ziti_init(ziti_context ztx, int status, void *ctx) {

ziti = ztx;
ziti_src_init(loop, &zs, "httpbin", ziti);
um_http_init_with_src(loop, &clt, "http://httpbin.org", (um_http_src_t *) &zs);
um_http_init_with_src(loop, &clt, "http://httpbin.org", (um_src_t *) &zs);

um_http_req_t *r = um_http_req(&clt, "GET", "/json", resp_cb, NULL);
r->resp.body_cb = body_cb;
Expand Down
4 changes: 2 additions & 2 deletions programs/wzcat/ziti_ws.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ static void on_ws_data(uv_stream_t *s, ssize_t len, const uv_buf_t *buf) {
}

static void init_cb(ziti_context ztx, int status, void *init_ctx) {
const char* service = init_ctx;
NEWP(src, um_http_src_t);
const char *service = init_ctx;
NEWP(src, um_src_t);
ziti_src_init(ztx->loop, src, service, ztx);

NEWP(ws, um_websocket_t);
Expand Down

0 comments on commit 786ff59

Please sign in to comment.