From 2e354d80f05b0864de3806616e6795156dd16d26 Mon Sep 17 00:00:00 2001 From: chanywa Date: Tue, 26 Sep 2017 12:42:33 +0900 Subject: [PATCH] Coding rules Change-Id: Ibfedc191cacd558a89969fd048a06ee53a4f7a32 --- gps-plugin/src/gps_plugin_replay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gps-plugin/src/gps_plugin_replay.c b/gps-plugin/src/gps_plugin_replay.c index c15f2eb..23e6450 100644 --- a/gps-plugin/src/gps_plugin_replay.c +++ b/gps-plugin/src/gps_plugin_replay.c @@ -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; -- 2.7.4