apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r551964 - /apr/apr/trunk/locks/unix/proc_mutex.c
Date Fri, 29 Jun 2007 17:17:00 GMT
Author: davi
Date: Fri Jun 29 10:16:58 2007
New Revision: 551964

URL: http://svn.apache.org/viewvc?view=rev&rev=551964
Log:
Remove superfluous parentheses. Noticed by Joe Orton.

Modified:
    apr/apr/trunk/locks/unix/proc_mutex.c

Modified: apr/apr/trunk/locks/unix/proc_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/unix/proc_mutex.c?view=diff&rev=551964&r1=551963&r2=551964
==============================================================================
--- apr/apr/trunk/locks/unix/proc_mutex.c (original)
+++ apr/apr/trunk/locks/unix/proc_mutex.c Fri Jun 29 10:16:58 2007
@@ -85,7 +85,7 @@
     usec = apr_time_usec(now);
     apr_snprintf(semname, sizeof(semname), "/ApR.%lxZ%lx", sec, usec);
     psem = sem_open(semname, O_CREAT | O_EXCL, 0644, 1);
-    if ((psem == (sem_t *)SEM_FAILED)) {
+    if (psem == (sem_t *)SEM_FAILED) {
         if (errno == ENAMETOOLONG) {
             /* Oh well, good try */
             semname[13] = '\0';



Mime
View raw message