]> granicus.if.org Git - python/commitdiff
Fix typo in comment
authorKurt B. Kaiser <kbk@shore.net>
Wed, 22 Aug 2007 21:38:31 +0000 (21:38 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Wed, 22 Aug 2007 21:38:31 +0000 (21:38 +0000)
Modules/socketmodule.c

index 3ad7039f6ebc1ff3bc99c398ecf9de40c521cb55..e157c3dd7bd7ed08e2ab82bd89af691b93805fc1 100644 (file)
@@ -2207,9 +2207,9 @@ sock_recv(PySocketSockObject *s, PyObject *args)
        }
        if (outlen != recvlen) {
                /* We did not read as many bytes as we anticipated, resize the
-                  string if possible and be succesful. */
+                  string if possible and be successful. */
                if (PyBytes_Resize(buf, outlen) < 0)
-                       /* Oopsy, not so succesful after all. */
+                       /* Oopsy, not so successful after all. */
                        return NULL;
        }