summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-08-12 09:28:40 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-08-12 09:28:40 (GMT)
commitf65b1a175f0c9ddb662c1ee7fd4b45d8824c900c (patch)
tree082b2057da361da8f891afeea86108c9fff1d381 /Modules
parentb704238a6c4ee0e2fd907d46a1e867661af5d315 (diff)
downloadcpython-f65b1a175f0c9ddb662c1ee7fd4b45d8824c900c.zip
cpython-f65b1a175f0c9ddb662c1ee7fd4b45d8824c900c.tar.gz
cpython-f65b1a175f0c9ddb662c1ee7fd4b45d8824c900c.tar.bz2
Bump size of sprintf buffer. Suggested by Alex Coventry.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index f4c5726..16b81ac 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -2344,7 +2344,7 @@ PySocket_getaddrinfo(PyObject *self, PyObject *args)
{
struct addrinfo hints, *res0, *res;
PyObject *pobj = (PyObject *)NULL;
- char pbuf[10];
+ char pbuf[30];
char *hptr, *pptr;
int family, socktype, protocol, flags;
int error;