Commit c07979b9 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix previous commit when GMP is not defined

parent 910e9e2e
......@@ -182,8 +182,8 @@ monitor_subsys_ops_update(
mpz_add( nInitiated, nInitiated, slap_counters.sc_ops_initiated_[ i ] );
mpz_add( nCompleted, nCompleted, slap_counters.sc_ops_completed_[ i ] );
#else /* ! HAVE_GMP */
nInitiated += slap_counter.sc_ops_initiated_[ i ];
nCompleted += slap_counter.sc_ops_completed_[ i ];
nInitiated += slap_counters.sc_ops_initiated_[ i ];
nCompleted += slap_counters.sc_ops_completed_[ i ];
#endif /* ! HAVE_GMP */
}
ldap_pvt_thread_mutex_unlock( &slap_counters.sc_ops_mutex );
......@@ -197,8 +197,8 @@ monitor_subsys_ops_update(
mpz_init_set( nInitiated, slap_counters.sc_ops_initiated_[ i ] );
mpz_init_set( nCompleted, slap_counters.sc_ops_completed_[ i ] );
#else /* ! HAVE_GMP */
nInitiated = slap_counter.sc_ops_initiated_[ i ];
nCompleted = slap_counter.sc_ops_completed_[ i ];
nInitiated = slap_counters.sc_ops_initiated_[ i ];
nCompleted = slap_counters.sc_ops_completed_[ i ];
#endif /* ! HAVE_GMP */
ldap_pvt_thread_mutex_unlock( &slap_counters.sc_ops_mutex );
break;
......
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