1156 static PyObject*
1157 l_ldap_start_tls_s( LDAPObject* self, PyObject* args )
1158 {
1159 int result;
1160
1161 if (!PyArg_ParseTuple( args, "" )) return NULL;
when _PyArg_ParseTuple_SizeT() succeeds
taking False path
1162 if (not_valid(self)) return NULL;
when considering range: -0x80000000 <= value <= -1
taking True path
1163
1164 result = ldap_start_tls_s( self->ldap, NULL, NULL );
1165 if ( result != LDAP_SUCCESS ){
1166 ldap_set_option(self->ldap, LDAP_OPT_ERROR_NUMBER, &result);
1167 return LDAPerror( self->ldap, "ldap_start_tls_s" );
1168 }
1169
1170 Py_INCREF(Py_None);
1171 return Py_None;
1172 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this