diff Modules/socketmodule.c @ 19197:01a9b7807160 legacy-trunk

Bump size of sprintf buffer. Suggested by Alex Coventry.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 12 Aug 2001 09:28:40 +0000
parents cd44254360b6
children 1afc3116c602
line wrap: on
line diff
--- a/Modules/socketmodule.c	Sun Aug 12 08:41:13 2001 +0000
+++ b/Modules/socketmodule.c	Sun Aug 12 09:28:40 2001 +0000
@@ -2344,7 +2344,7 @@
 {
 	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;