[svn:parrot] r39480 - trunk/src/pmc
fperrad at svn.parrot.org
fperrad at svn.parrot.org
Tue Jun 9 21:52:48 UTC 2009
Author: fperrad
Date: Tue Jun 9 21:52:47 2009
New Revision: 39480
URL: https://trac.parrot.org/parrot/changeset/39480
Log:
[codingstd] fix C parentheses
Modified:
trunk/src/pmc/socket.pmc
Modified: trunk/src/pmc/socket.pmc
==============================================================================
--- trunk/src/pmc/socket.pmc Tue Jun 9 21:00:23 2009 (r39479)
+++ trunk/src/pmc/socket.pmc Tue Jun 9 21:52:47 2009 (r39480)
@@ -115,7 +115,7 @@
if (PARROT_SOCKET(SELF)) {
Parrot_Socket_attributes *data_struct = PARROT_SOCKET(SELF);
- if(data_struct->os_handle != PIO_INVALID_HANDLE)
+ if (data_struct->os_handle != PIO_INVALID_HANDLE)
Parrot_io_close_piohandle(interp, data_struct->os_handle);
data_struct->os_handle = PIO_INVALID_HANDLE;
}
@@ -209,11 +209,11 @@
if (PARROT_SOCKET(SELF)) {
Parrot_Socket_attributes *data_struct = PARROT_SOCKET(SELF);
- if(data_struct->os_handle != PIO_INVALID_HANDLE)
+ if (data_struct->os_handle != PIO_INVALID_HANDLE)
result = Parrot_io_close_piohandle(interp, data_struct->os_handle);
data_struct->os_handle = PIO_INVALID_HANDLE;
}
- RETURN(INTVAL result);
+ RETURN(INTVAL result);
}
/*
More information about the parrot-commits
mailing list