summaryrefslogtreecommitdiffstats
path: root/Modules/termios.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/termios.c')
-rw-r--r--Modules/termios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/termios.c b/Modules/termios.c
index 38573e2..354e5ca 100644
--- a/Modules/termios.c
+++ b/Modules/termios.c
@@ -408,7 +408,7 @@ termios_tcsetwinsize_impl(PyObject *module, int fd, PyObject *winsz)
}
Py_XDECREF(tmp_item);
tmp_item = PySequence_GetItem(winsz, 1);
- winsz_1 = PyLong_AsLong(tmp_item);
+ winsz_1 = PyLong_AsLong(tmp_item);
if (winsz_1 == -1 && PyErr_Occurred()) {
Py_XDECREF(tmp_item);
return NULL;