From 07209f8592f15435d6abbccaad5347cea2c7722e Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 18 Jun 2016 18:19:24 +0300 Subject: all: Rename mp_obj_type_t::stream_p to protocol. It's now used for more than just stream protocol (e.g. pin protocol), so don't use false names. --- unix/modsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unix/modsocket.c') diff --git a/unix/modsocket.c b/unix/modsocket.c index 8e0d86fc7..cd68b20a4 100644 --- a/unix/modsocket.c +++ b/unix/modsocket.c @@ -381,7 +381,7 @@ STATIC const mp_obj_type_t usocket_type = { .make_new = socket_make_new, .getiter = NULL, .iternext = NULL, - .stream_p = &usocket_stream_p, + .protocol = &usocket_stream_p, .locals_dict = (mp_obj_dict_t*)&usocket_locals_dict, }; -- cgit v1.2.3