Skip to content

Commit ed802af

Browse files
tiranencukou
authored andcommitted
Run make indent on C code
Signed-off-by: Christian Heimes <cheimes@redhat.com>
1 parent 269df17 commit ed802af

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Modules/LDAPObject.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ Tuple_to_LDAPMod(PyObject *tup, int no_op)
126126
}
127127

128128
lm = PyMem_NEW(LDAPMod, 1);
129+
129130
if (lm == NULL)
130131
goto nomem;
131132

@@ -236,6 +237,7 @@ List_to_LDAPMods(PyObject *list, int no_op)
236237
}
237238

238239
lms = PyMem_NEW(LDAPMod *, len + 1);
240+
239241
if (lms == NULL)
240242
goto nomem;
241243

Modules/ldapcontrol.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Tuple_to_LDAPControl(PyObject *tup)
8282
return NULL;
8383

8484
lc = PyMem_NEW(LDAPControl, 1);
85+
8586
if (lc == NULL) {
8687
PyErr_NoMemory();
8788
return NULL;
@@ -91,6 +92,7 @@ Tuple_to_LDAPControl(PyObject *tup)
9192

9293
len = strlen(oid);
9394
lc->ldctl_oid = PyMem_NEW(char, len + 1);
95+
9496
if (lc->ldctl_oid == NULL) {
9597
PyErr_NoMemory();
9698
LDAPControl_DEL(lc);
@@ -137,6 +139,7 @@ LDAPControls_from_object(PyObject *list, LDAPControl ***controls_ret)
137139

138140
len = PySequence_Length(list);
139141
ldcs = PyMem_NEW(LDAPControl *, len + 1);
142+
140143
if (ldcs == NULL) {
141144
PyErr_NoMemory();
142145
return 0;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy