You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by da...@apache.org on 2007/06/29 19:17:00 UTC
svn commit: r551964 - /apr/apr/trunk/locks/unix/proc_mutex.c
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';