]> granicus.if.org Git - python/commitdiff
Issue #14180: Fix another typo in kqueue_queue_control()
authorVictor Stinner <vstinner@wyplay.com>
Tue, 13 Mar 2012 15:25:35 +0000 (16:25 +0100)
committerVictor Stinner <vstinner@wyplay.com>
Tue, 13 Mar 2012 15:25:35 +0000 (16:25 +0100)
Modules/selectmodule.c

index 179dd61856ca0fa676cf04abdcb3832ca0aed740..19d9d3b9f64b3121336eed316ba4640a8302c8f0 100644 (file)
@@ -1868,7 +1868,7 @@ kqueue_queue_control(kqueue_queue_Object *self, PyObject *args)
                             "timeout must be positive or None");
             return NULL;
         }
-        ptimeoutspec = &timeoutspec;
+        ptimeoutspec = &timeout;
     }
     else {
         PyErr_Format(PyExc_TypeError,