You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2006/04/05 23:22:49 UTC
svn commit: r391817 - in
/incubator/harmony/enhanced/classlib/trunk/native-src:
linux.IA32/port/hysock.c win.IA32/port/hysock.c
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