summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/socketmodule.c')
-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;