Coding rules 78/152378/1
authorchanywa <cbible.kim@samsung.com>
Tue, 26 Sep 2017 03:42:33 +0000 (12:42 +0900)
committerchanywa <cbible.kim@samsung.com>
Tue, 26 Sep 2017 03:42:33 +0000 (12:42 +0900)
Change-Id: Ibfedc191cacd558a89969fd048a06ee53a4f7a32

gps-plugin/src/gps_plugin_replay.c

index c15f2eb..23e6450 100644 (file)
@@ -101,7 +101,7 @@ static int gps_uart_close()
        int ret;
 
        ret = peripheral_uart_close(uart_hndl);
-       if (ret < 0 ) {
+       if (ret < 0) {
                _E("GPS Uart Port Close failed !!");
                return FALSE;
        }
@@ -115,7 +115,7 @@ static int gps_uart_open()
        int ret;
 
        ret = peripheral_uart_open(GPS_UART_PORT, &uart_hndl);
-       if (ret < 0 ) {
+       if (ret < 0) {
                _E("GPS Uart Port Open failed !!");
                return FALSE;
        }
@@ -450,7 +450,7 @@ gboolean gps_plugin_replay_read_nmea(replay_timeout *timer, char *nmea_data)
                                break;
                        } else {
                                strncpy(nmea_data + strlen(nmea_data), buf, strlen(buf) - 1);
-            }
+                       }
                }
                timer->nmea_data->len = strlen(buf);
                timer->nmea_data->data = buf;