OSDN Git Service

Fix =/== bug.
authorElliott Hughes <enh@google.com>
Mon, 26 Apr 2010 20:45:16 +0000 (13:45 -0700)
committerElliott Hughes <enh@google.com>
Mon, 26 Apr 2010 20:45:16 +0000 (13:45 -0700)
Change-Id: I42c1ede0289334b7837d468763fecc61fc4a8bea

libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp

index 0dbb070..11c056d 100644 (file)
@@ -1352,7 +1352,7 @@ static void mcastAddDropMembership(JNIEnv *env, int handle, jobject optVal,
                     setSockOptVal = IPV6_ADD_MEMBERSHIP;
                 }
                 if (setSockOptVal == IP_DROP_MEMBERSHIP) {
-                    setSockOptVal == IPV6_DROP_MEMBERSHIP;
+                    setSockOptVal = IPV6_DROP_MEMBERSHIP;
                 }
                 requestLength = sizeof(ipv6Request);
                 memset(&ipv6Request, 0, requestLength);