harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r515959 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c
Date Thu, 08 Mar 2007 07:49:01 GMT
Author: pyang
Date: Wed Mar  7 23:49:01 2007
New Revision: 515959

URL: http://svn.apache.org/viewvc?view=rev&rev=515959
Log:
recover patch for HARMONY-2387([classlib][luni] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy()
intermittently fails)

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c?view=diff&rev=515959&r1=515958&r2=515959
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c Wed
Mar  7 23:49:01 2007
@@ -195,8 +195,6 @@
 
 #define CDEV_CURRENT_FUNCTION findError
 
-#define HYPORT_SUCCESS 0
-
 /**
  * @internal
  * Determines the proper portable error code to return given a native error code
@@ -210,8 +208,6 @@
 {
   switch (errorCode)
     {
-    case HYPORT_SUCCESS:
-      return HYPORT_SUCCESS;
     case HYPORT_ERROR_SOCKET_UNIX_EBADF:
       return HYPORT_ERROR_SOCKET_BADDESC;
     case HYPORT_ERROR_SOCKET_UNIX_ENOBUFS:



Mime
View raw message