author | erik <erik> | 2007-05-10 23:34:29 (UTC) |
---|---|---|
committer | erik <erik> | 2007-05-10 23:34:29 (UTC) |
commit | e87affd3d9a8a7d705d0dc3d1a4905e1e3f902d0 (patch) (unidiff) | |
tree | a5b03a9e3dbff8f004f10d33c15fd86601f213f9 /core | |
parent | 34975323367e4a903886cd317b34192f1271a1f2 (diff) | |
download | opie-e87affd3d9a8a7d705d0dc3d1a4905e1e3f902d0.zip opie-e87affd3d9a8a7d705d0dc3d1a4905e1e3f902d0.tar.gz opie-e87affd3d9a8a7d705d0dc3d1a4905e1e3f902d0.tar.bz2 |
application of proper parens for the socket call check
-rw-r--r-- | core/applets/irdaapplet/irda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) : | |||
54 | setFixedHeight( AppLnk::smallIconSize() ); | 54 | setFixedHeight( AppLnk::smallIconSize() ); |
55 | setFixedWidth( AppLnk::smallIconSize() ); | 55 | setFixedWidth( AppLnk::smallIconSize() ); |
56 | 56 | ||
57 | if (m_sockfd = ::socket ( PF_INET, SOCK_DGRAM, IPPROTO_IP ) == -1) | 57 | if ( ( m_sockfd = ::socket ( PF_INET, SOCK_DGRAM, IPPROTO_IP ) ) == -1) |
58 | perror ( "failed grabbing IrDA socket" ); | 58 | perror ( "failed grabbing IrDA socket" ); |
59 | 59 | ||
60 | m_irdaOnPixmap = | 60 | m_irdaOnPixmap = |