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 id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
bugs728171
milestone14.0a1
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.