Backout 4058f038e97f (bug 728171). a=bustage
authorRichard Newman <rnewman@mozilla.com>
Wed, 11 Apr 2012 15:33:36 -0700
changeset 91477 084cc1528d4f941bd1c4d1dc209ab3a823eaac8d
parent 91476 af7263971ad4fcb3a0d1b5e64f6e80ba788b71be
child 91478 12e42fb8e321f095f098c86be96932f646e84885
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersbustage
bugs728171
milestone14.0a1
backs out4058f038e97f22c04cae6e0546d9ff1fc704079c
Backout 4058f038e97f (bug 728171). a=bustage
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;
     }
 
-    if (connect(mSocket.get(), (struct sockaddr *) &addr, alen) < 0) {
+    iif (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.