summaryrefslogtreecommitdiffstats
path: root/gatchat/gatutil.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-01-20 14:21:22 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-01-20 14:21:22 -0600
commitaebda1ac9471949351d29a02a1aa7101f0eb06b5 (patch)
treefcf5a849add696e8bdd706c83bb2fd643ec42a5b /gatchat/gatutil.c
parent7145edd3a416b133da1a208292b919256c822baf (diff)
downloadofono-aebda1ac9471949351d29a02a1aa7101f0eb06b5.tar.bz2
Refactor: Reorder argument order
The order of arguments was a bit confusing, reorder them to make more logical sense.
Diffstat (limited to 'gatchat/gatutil.c')
-rw-r--r--gatchat/gatutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gatchat/gatutil.c b/gatchat/gatutil.c
index 6bc5dcbb..dcff4c7b 100644
--- a/gatchat/gatutil.c
+++ b/gatchat/gatutil.c
@@ -30,8 +30,8 @@
#include "gatutil.h"
-void g_at_util_debug_chat(GAtDebugFunc debugf, gboolean in, const char *str,
- gsize len, gpointer user_data)
+void g_at_util_debug_chat(gboolean in, const char *str, gsize len,
+ GAtDebugFunc debugf, gpointer user_data)
{
char type = in ? '<' : '>';
gsize escaped = 2; /* Enough for '<', ' ' */