Diff between 3724703d239357b61d47c0f2845ed649c3804fb0 and 53415d7d6978839b55a5da1ff06ead731377695e

Changed Files

File Additions Deletions Status
obexd/gwobex/obex-priv.h +1 -1 modified
obexd/gwobex/utils.c +4 -4 modified

Full Patch

diff --git a/obexd/gwobex/obex-priv.h b/obexd/gwobex/obex-priv.h
index f4e3e5b..c7e4997 100644
--- a/obexd/gwobex/obex-priv.h
+++ b/obexd/gwobex/obex-priv.h
@@ -37,7 +37,7 @@
 #include "gw-obex.h"
 #include "obex-xfer.h"
 
-#define CHECK_DISCONNECT(ret,err,ctx) do { \
+#define CHECK_DISCONNECT(ret, err, ctx) do { \
                                           if ((ctx)->conn_fd < 0) { \
                                               if (err) \
                                                   *(err) = GW_OBEX_ERROR_DISCONNECT; \
diff --git a/obexd/gwobex/utils.c b/obexd/gwobex/utils.c
index 02afa2e..ad0e20c 100644
--- a/obexd/gwobex/utils.c
+++ b/obexd/gwobex/utils.c
@@ -50,7 +50,7 @@ char *bytestr(const uint8_t *uuid, int len) {
 gboolean fd_raw_mode(int fd) {
     struct termios mode;
 
-    memset(&mode, 0, sizeof (mode));
+    memset(&mode, 0, sizeof(mode));
     if (tcgetattr(fd, &mode) < 0) {
         debug("tcgetattr(%d, &mode): %s", fd, strerror(errno));
         return FALSE;
@@ -134,7 +134,7 @@ time_t parse_iso8601(const gchar *str, int len) {
     time_t    time;
     time_t    tz_offset = 0;
 
-    memset (&tm, 0, sizeof (struct tm));
+    memset(&tm, 0, sizeof(struct tm));
 
     /* According to spec the time doesn't have to be null terminated */
     if (str[len - 1] != '\0') {
@@ -145,7 +145,7 @@ time_t parse_iso8601(const gchar *str, int len) {
     else
         tstr = g_strdup(str);
 
-    nr = sscanf (tstr, "%04u%02u%02uT%02u%02u%02u%c",
+    nr = sscanf(tstr, "%04u%02u%02uT%02u%02u%02u%c",
             &tm.tm_year, &tm.tm_mon, &tm.tm_mday,
             &tm.tm_hour, &tm.tm_min, &tm.tm_sec,
             &tz);
@@ -162,7 +162,7 @@ time_t parse_iso8601(const gchar *str, int len) {
         return -1;
     }
 
-    time = mktime (&tm);
+    time = mktime(&tm);
 
 #if defined(HAVE_TM_GMTOFF)
     tz_offset = tm.tm_gmtoff;