Commit ef2b505b authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9043 Fix new log msg crashes

Solaris stdio hates NULL pointers
parent fdf6ee50
...@@ -1169,7 +1169,7 @@ syncprov_qresp( opcookie *opc, syncops *so, int mode ) ...@@ -1169,7 +1169,7 @@ syncprov_qresp( opcookie *opc, syncops *so, int mode )
} }
Debug( LDAP_DEBUG_SYNC, "%s syncprov_qresp: " Debug( LDAP_DEBUG_SYNC, "%s syncprov_qresp: "
"set up a new syncres mode=%d csn=%s\n", "set up a new syncres mode=%d csn=%s\n",
so->s_op->o_log_prefix, mode, csn.bv_val ); so->s_op->o_log_prefix, mode, csn.bv_val ? csn.bv_val : "" );
ldap_pvt_thread_mutex_unlock( &ri->ri_mutex ); ldap_pvt_thread_mutex_unlock( &ri->ri_mutex );
ldap_pvt_thread_mutex_lock( &so->s_mutex ); ldap_pvt_thread_mutex_lock( &so->s_mutex );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment