apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r660710 - /apr/apr/branches/1.3.x/network_io/unix/sockaddr.c
Date Tue, 27 May 2008 21:22:36 GMT
Author: bojan
Date: Tue May 27 14:22:36 2008
New Revision: 660710

URL: http://svn.apache.org/viewvc?rev=660710&view=rev
Log:
Backport r660405 from the trunk.
Fix PR44971.
Return APR_ENOENT if we cannot find service, errno is undefined.

Modified:
    apr/apr/branches/1.3.x/network_io/unix/sockaddr.c

Modified: apr/apr/branches/1.3.x/network_io/unix/sockaddr.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/network_io/unix/sockaddr.c?rev=660710&r1=660709&r2=660710&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/network_io/unix/sockaddr.c (original)
+++ apr/apr/branches/1.3.x/network_io/unix/sockaddr.c Tue May 27 14:22:36 2008
@@ -716,7 +716,7 @@
         sockaddr->sa.sin.sin_port = se->s_port;
         return APR_SUCCESS;
     }
-    return errno;
+    return APR_ENOENT;
 }
 
 #define V4MAPPED_EQUAL(a,b)                                   \



Mime
View raw message