You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/09/02 12:24:45 UTC
svn commit: r691184 -
/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c
Author: hindessm
Date: Tue Sep 2 03:24:41 2008
New Revision: 691184
URL: http://svn.apache.org/viewvc?rev=691184&view=rev
Log:
Removing spurious '&'. See http://markmail.org/message/2pubqjvkotlqk566
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?rev=691184&r1=691183&r2=691184&view=diff
==============================================================================
--- 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 Tue Sep 2 03:24:41 2008
@@ -4820,9 +4820,8 @@
sizeof (struct in6_addr);
interfaces[currentAdapterIndex].
addresses[currentIPAddressIndex].scope =
- &(((struct sockaddr_in6 *) (&ifc.ifc_req[counter].
- ifr_addr))->
- sin6_scope_id);
+ ((struct sockaddr_in6 *) (&ifc.ifc_req[counter].
+ ifr_addr))->sin6_scope_id;
currentIPAddressIndex++;
}
#endif