harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r691191 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c
Date Tue, 02 Sep 2008 10:45:37 GMT
Author: hindessm
Date: Tue Sep  2 03:45:36 2008
New Revision: 691191

URL: http://svn.apache.org/viewvc?rev=691191&view=rev
Log:
Another occurrence of the spurious '&' removed in r691184.

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=691191&r1=691190&r2=691191&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:45:36 2008
@@ -4564,9 +4564,8 @@
                         sizeof (struct in6_addr);
                       interfaces[currentAdapterIndex].
                         addresses[currentIPAddressIndex].scope =
-                        &(((struct sockaddr_in6 *) (&currentIfReq->
-                                                    ifr_addr))->
-                          sin6_scope_id);
+                        ((struct sockaddr_in6 *) (&currentIfReq->
+                                                  ifr_addr))->sin6_scope_id;
                       currentIPAddressIndex++;
                     }
 #endif
@@ -4821,7 +4820,7 @@
                       interfaces[currentAdapterIndex].
                         addresses[currentIPAddressIndex].scope =
                         ((struct sockaddr_in6 *) (&ifc.ifc_req[counter].
-                                                    ifr_addr))->sin6_scope_id;
+                                                  ifr_addr))->sin6_scope_id;
                       currentIPAddressIndex++;
                     }
 #endif



Mime
View raw message