Fix stupid un-bitrotting bustage from bug 728171.
☠☠ backed out by 084cc1528d4f ☠ ☠
authorRyan VanderMeulen <ryanvm@gmail.com>
Wed, 11 Apr 2012 18:10:10 -0400
changeset 91473 4058f038e97f22c04cae6e0546d9ff1fc704079c
parent 91472 4b667b134bc7c48d4e6e51618215045b72c5aa96
child 91474 ec39d423e265ecb83a73ea56cf6860ed840036a2
push id22445
push usereakhgari@mozilla.com
push dateThu, 12 Apr 2012 16:19:55 +0000
treeherdermozilla-central@901dfde60183 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs728171
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix stupid un-bitrotting bustage from bug 728171.
ipc/ril/Ril.cpp
--- a/ipc/ril/Ril.cpp
+++ b/ipc/ril/Ril.cpp
@@ -223,17 +223,17 @@ RilClient::OpenSocket()
     alen = sizeof(addr);
 #endif
 
     if (mSocket.get() < 0) {
         LOG("Cannot create socket for RIL!\n");
         return false;
     }
 
-    iif (connect(mSocket.get(), (struct sockaddr *) &addr, alen) < 0) {
+    if (connect(mSocket.get(), (struct sockaddr *) &addr, alen) < 0) {
 #if defined(MOZ_WIDGET_GONK)
         LOG("Cannot open socket for RIL!\n");
 #endif
         mSocket.dispose();
         return false;
     }
 
     // Set close-on-exec bit.