Changeset 85 in libcf for trunk/src/cf_socket.c


Ignore:
Timestamp:
05/03/13 11:16:57 (11 years ago)
Author:
cheese
Message:

#1 modify assertion logic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cf_socket.c

    r75 r85  
    3030#endif
    3131
    32 #define ASSERT_INIT()                       \
    33     if (!CF_Socket_IsInitialized ())        \
     32#define ASSERT_INIT()                   \
     33    if (!CF_Socket_IsInitialized ())    \
    3434        return CF_ERROR_SOCKET_NOT_INITIALIZED
    3535
    36 #define ASSERT_SOCKET(__sock)           \
    37     if (__sock < 0)                     \
     36#define ASSERT_SOCKET(__sock)   \
     37    if (__sock < 0)             \
    3838        return CF_ERROR_SOCKET_INVALID_SOCKET
    3939
Note: See TracChangeset for help on using the changeset viewer.