RSS

(root)/mod_ldap/head : 88 : mod_ldap.c

« back to all changes in this revision

Viewing changes to mod_ldap.c

John Morrissey
2009-12-05 18:25:49
Revision ID: jwm@horde.net-20091205232549-re3yl2ice1vsj07i
cast ldap_querytimeout_tp.tv_sec to quell a compiler warning

Show diffs side-by-side

added added

removed removed

306
306
 
307
307
  ldap_querytimeout_tp.tv_sec = (ldap_querytimeout > 0 ? ldap_querytimeout : 5);
308
308
  ldap_querytimeout_tp.tv_usec = 0;
309
 
  pr_log_debug(DEBUG3, MOD_LDAP_VERSION ": set query timeout to %ds", ldap_querytimeout_tp.tv_sec);
 
309
  pr_log_debug(DEBUG3, MOD_LDAP_VERSION ": set query timeout to %us", (unsigned)ldap_querytimeout_tp.tv_sec);
310
310
 
311
311
  return 1;
312
312
}

Loggerhead 1.17 is a web-based interface for Bazaar branches