Skip to content

Commit e859961

Browse files
committed
formatting changes
1 parent 7c1fa06 commit e859961

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

Modules/socketmodule.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6219,8 +6219,7 @@ socket_gethostbyname_ex(PyObject *self, PyObject *args)
62196219
Py_BEGIN_ALLOW_THREADS
62206220
#ifdef HAVE_GETHOSTBYNAME_R
62216221
#if defined(HAVE_GETHOSTBYNAME_R_6_ARG)
6222-
gethostbyname_r(name, &hp_allocated, buf, buf_len,
6223-
&h, &errnop);
6222+
gethostbyname_r(name, &hp_allocated, buf, buf_len, &h, &errnop);
62246223
h_error = errnop;
62256224
#elif defined(HAVE_GETHOSTBYNAME_R_5_ARG)
62266225
h = gethostbyname_r(name, &hp_allocated, buf, buf_len, &errnop);
@@ -6329,13 +6328,10 @@ socket_gethostbyaddr(PyObject *self, PyObject *args)
63296328
Py_BEGIN_ALLOW_THREADS
63306329
#ifdef HAVE_GETHOSTBYNAME_R
63316330
#if defined(HAVE_GETHOSTBYNAME_R_6_ARG)
6332-
gethostbyaddr_r(ap, al, af,
6333-
&hp_allocated, buf, buf_len,
6334-
&h, &errnop);
6331+
gethostbyaddr_r(ap, al, af, &hp_allocated, buf, buf_len, &h, &errnop);
63356332
h_error = errnop;
63366333
#elif defined(HAVE_GETHOSTBYNAME_R_5_ARG)
6337-
h = gethostbyaddr_r(ap, al, af,
6338-
&hp_allocated, buf, buf_len, &errnop);
6334+
h = gethostbyaddr_r(ap, al, af, &hp_allocated, buf, buf_len, &errnop);
63396335
h_error = errnop;
63406336
#else /* HAVE_GETHOSTBYNAME_R_3_ARG */
63416337
memset((void *) &data, '\0', sizeof(data));

0 commit comments

Comments
 (0)