Fixed: Coding rule issues.
[apps/native/ug-wifi-direct.git] / popup-wifidirect / include / wfd-app-util.h
index b6a16b3..e1adb1d 100755 (executable)
@@ -74,15 +74,15 @@ int wfd_app_gettid();
 
 #define WFD_RET_IF(expr, fmt, args...) \
        do { \
-               if(expr) { \
-                       WFD_APP_LOG(WFD_APP_LOG_ERROR, "[%s] Return, message "fmt, #expr, ##args );\
+               if (expr) { \
+                       WFD_APP_LOG(WFD_APP_LOG_ERROR, "[%s] Return, message "fmt, #expr, ##args);\
                        return; \
                } \
        } while (0)
 
 #define WFD_IF_FREE_MEM(mem) \
        do { \
-               if(mem) { \
+               if (mem) { \
                        free(mem); \
                        mem = NULL; \
                } \
@@ -90,8 +90,8 @@ int wfd_app_gettid();
 
 #define WFD_RETV_IF(expr, val, fmt, args...) \
        do { \
-               if(expr) { \
-                       WFD_APP_LOG(WFD_APP_LOG_ERROR, "[%s] Return value, message "fmt, #expr, ##args );\
+               if (expr) { \
+                       WFD_APP_LOG(WFD_APP_LOG_ERROR, "[%s] Return value, message "fmt, #expr, ##args);\
                        return (val); \
                } \
        } while (0)