Skip to content

Commit

Permalink
Fix DS_ goof
Browse files Browse the repository at this point in the history
  • Loading branch information
obaterspok authored Jun 28, 2023
1 parent 95d36db commit fea7790
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ldap/servers/slapd/daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ slapd_daemon(daemon_ports_t *ports)
/* no data */
}
}
DS_(PR_INTERVAL_NO_WAIT);
DS_Sleep(PR_INTERVAL_NO_WAIT);
if (threads != g_get_active_threadcnt()) {
slapi_log_err(SLAPI_LOG_TRACE, "slapd_daemon",
"slapd shutting down - waiting for %" PRIu64 " threads to terminate\n",
Expand Down Expand Up @@ -1994,10 +1994,10 @@ init_shutdown_detect(void)
* to get set correctly unless the primordial thread gets a chance
* to run before we make the call to SIGNAL. (At this point the
* the primordial thread has spawned the daemon thread which called
* this function.) The call to DS_ will give the primordial
* this function.) The call to DS_Sleep will give the primordial
* thread a chance to run.
*/
DS_(0);
DS_Sleep(0);
#endif
(void)SIGNAL(SIGPIPE, SIG_IGN);
(void)SIGNAL(SIGCHLD, slapd_wait4child);
Expand Down

0 comments on commit fea7790

Please sign in to comment.