summaryrefslogtreecommitdiffstats
path: root/gatchat
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-08-09 19:23:33 -0700
committerMarcel Holtmann <marcel@holtmann.org>2011-08-09 19:23:33 -0700
commit6351cb1e4e102b3a3429e72f5322ea06daf6cc9e (patch)
tree7eaa95ed519552a9ec9de8bcedc04811dc3ba463 /gatchat
parente35a577f8054ff5753a2e056c89377a6ca035889 (diff)
downloadofono-6351cb1e4e102b3a3429e72f5322ea06daf6cc9e.tar.bz2
gatchat: Fix extra empty line issue with hexdump helper
Diffstat (limited to 'gatchat')
-rw-r--r--gatchat/gatutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatutil.c b/gatchat/gatutil.c
index d5f9e0d5..768490b2 100644
--- a/gatchat/gatutil.c
+++ b/gatchat/gatutil.c
@@ -157,7 +157,7 @@ void g_at_util_debug_hexdump(gboolean in, const unsigned char *buf, gsize len,
}
}
- if ((i + 1) % 16 > 0) {
+ if (i % 16 > 0) {
gsize j;
for (j = (i % 16); j < 16; j++) {
str[(j * 3) + 1] = ' ';