1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

Re-add AP_DEBUG_ASSERTs that were wrongly removed in r982050

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982382 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Fritsch
2010-08-04 19:47:18 +00:00
parent a527986832
commit efb3c5f775
2 changed files with 2 additions and 0 deletions

View File

@@ -1155,6 +1155,7 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t * thd, void *dummy)
ap_server_conf,
"event_loop: unexpected state %d",
cs->state);
AP_DEBUG_ASSERT(0);
}
apr_thread_mutex_lock(timeout_mutex);

View File

@@ -165,6 +165,7 @@ apr_status_t ap_queue_info_wait_for_idler(fd_queue_info_t * queue_info)
queue_info->idlers_mutex);
if (rv != APR_SUCCESS) {
apr_status_t rv2;
AP_DEBUG_ASSERT(0);
rv2 = apr_thread_mutex_unlock(queue_info->idlers_mutex);
if (rv2 != APR_SUCCESS) {
return rv2;