harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r391817 - in /incubator/harmony/enhanced/classlib/trunk/native-src: linux.IA32/port/hysock.c win.IA32/port/hysock.c
Date Wed, 05 Apr 2006 21:22:49 GMT
Author: tellison
Date: Wed Apr  5 14:22:46 2006
New Revision: 391817

URL: http://svn.apache.org/viewcvs?rev=391817&view=rev
Log:
Fix for HARMONY-309 (linux.IA32/port/hysock.c end of non-void function has no return)

Modified:
    incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/port/hysock.c
    incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c

Modified: incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/port/hysock.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/port/hysock.c?rev=391817&r1=391816&r2=391817&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/port/hysock.c (original)
+++ incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/port/hysock.c Wed Apr
 5 14:22:46 2006
@@ -5199,7 +5199,9 @@
         {
           portLibrary->mem_free_memory (portLibrary, *context);
         }
+      return 0;
     }
+  return HYPORT_ERROR_SOCKET_ARGSINVALID;
 }
 
 #undef CDEV_CURRENT_FUNCTION

Modified: incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c?rev=391817&r1=391816&r2=391817&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c (original)
+++ incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c Wed Apr  5
14:22:46 2006
@@ -5048,9 +5048,9 @@
 	  portLibrary->mem_free_memory (portLibrary, *context);
 	  *context = NULL;
 	}
-    }
-    
     return 0;
+    }
+  return HYPORT_ERROR_SOCKET_ARGSINVALID;
 }
 
 #undef CDEV_CURRENT_FUNCTION



Mime
View raw message