summaryrefslogtreecommitdiff
path: root/unix/modsocket.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-18 18:19:24 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-18 18:44:57 +0300
commit07209f8592f15435d6abbccaad5347cea2c7722e (patch)
treea009978926973dc9bb1365872f4313435df57259 /unix/modsocket.c
parent080137961daef9a1b0fe1f37f54a820842728442 (diff)
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.
Diffstat (limited to 'unix/modsocket.c')
-rw-r--r--unix/modsocket.c2
1 files changed, 1 insertions, 1 deletions
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,
};