ldap/servers/slapd/conntable.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e3c009f5e000e66ea77616d3a03f545de541da15
Author: Ludwig Krispenz <lkrispen(a)redhat.com>
Date: Thu Jan 14 11:41:13 2016 +0100
fix jenkins warning, cast of c_mutex now has to be PRMonitor
diff --git a/ldap/servers/slapd/conntable.c b/ldap/servers/slapd/conntable.c
index 37da9a5..b5cd47a 100644
--- a/ldap/servers/slapd/conntable.c
+++ b/ldap/servers/slapd/conntable.c
@@ -352,7 +352,7 @@ connection_table_as_entry(Connection_Table *ct, Slapi_Entry *e)
for ( i = 0; i < (ct!=NULL?ct->size:0); i++ )
{
PR_Lock( ct->table_mutex );
- if ( (ct->c[i].c_mutex == NULL) || (ct->c[i].c_mutex == (PRLock*)-1) )
+ if ( (ct->c[i].c_mutex == NULL) || (ct->c[i].c_mutex == (PRMonitor*)-1) )
{
PR_Unlock( ct->table_mutex );
continue;