Bump size of sprintf buffer. Suggested by Alex Coventry.

This commit is contained in:
Martin v. Löwis 2001-08-12 09:28:40 +00:00
parent b704238a6c
commit f65b1a175f
1 changed files with 1 additions and 1 deletions

View File

@ -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;