From e87affd3d9a8a7d705d0dc3d1a4905e1e3f902d0 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 10 May 2007 23:34:29 +0000 Subject: application of proper parens for the socket call check --- (limited to 'core') diff --git a/core/applets/irdaapplet/irda.cpp b/core/applets/irdaapplet/irda.cpp index d57104b..848ddb4 100644 --- a/core/applets/irdaapplet/irda.cpp +++ b/core/applets/irdaapplet/irda.cpp @@ -54,7 +54,7 @@ IrdaApplet::IrdaApplet ( QWidget *parent, const char *name ) : setFixedHeight( AppLnk::smallIconSize() ); setFixedWidth( AppLnk::smallIconSize() ); - if (m_sockfd = ::socket ( PF_INET, SOCK_DGRAM, IPPROTO_IP ) == -1) + if ( ( m_sockfd = ::socket ( PF_INET, SOCK_DGRAM, IPPROTO_IP ) ) == -1) perror ( "failed grabbing IrDA socket" ); m_irdaOnPixmap = -- cgit v0.9.0.2