[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11682 - libmicrohttpd/src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11682 - libmicrohttpd/src/daemon |
Date: |
Sat, 12 Jun 2010 00:40:35 +0200 |
Author: grothoff
Date: 2010-06-12 00:40:35 +0200 (Sat, 12 Jun 2010)
New Revision: 11682
Modified:
libmicrohttpd/src/daemon/response.c
Log:
cleaner
Modified: libmicrohttpd/src/daemon/response.c
===================================================================
--- libmicrohttpd/src/daemon/response.c 2010-06-11 22:35:16 UTC (rev 11681)
+++ libmicrohttpd/src/daemon/response.c 2010-06-11 22:40:35 UTC (rev 11682)
@@ -270,7 +270,7 @@
if (response == NULL)
return;
pthread_mutex_lock (&response->mutex);
- if (0 != --response->reference_count)
+ if (0 != --(response->reference_count))
{
pthread_mutex_unlock (&response->mutex);
return;
@@ -295,7 +295,7 @@
MHD_increment_response_rc (struct MHD_Response *response)
{
pthread_mutex_lock (&response->mutex);
- response->reference_count++;
+ (response->reference_count)++;
pthread_mutex_unlock (&response->mutex);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11682 - libmicrohttpd/src/daemon,
gnunet <=