From 3ceb49c6d562264b16f8063507ab06e25fb78398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Tue, 1 Feb 2011 20:29:33 +0100 Subject: [PATCH] Replace obvious mistake pthread_mutex_lock() -> pthread_mutex_unlock() --- src/webui/extjs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webui/extjs.c b/src/webui/extjs.c index d6c1caaf..e6111064 100644 --- a/src/webui/extjs.c +++ b/src/webui/extjs.c @@ -264,15 +264,15 @@ extjs_tablemgr(http_connection_t *hc, const char *remain, void *opaque) } else { bad: - pthread_mutex_lock(dt->dt_dtc->dtc_mutex); + pthread_mutex_unlock(dt->dt_dtc->dtc_mutex); return HTTP_STATUS_BAD_REQUEST; noaccess: - pthread_mutex_lock(dt->dt_dtc->dtc_mutex); + pthread_mutex_unlock(dt->dt_dtc->dtc_mutex); return HTTP_STATUS_BAD_REQUEST; } - pthread_mutex_lock(dt->dt_dtc->dtc_mutex); + pthread_mutex_unlock(dt->dt_dtc->dtc_mutex); if(in != NULL) htsmsg_destroy(in);