summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/atcmd.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/util/atcmd.c b/src/util/atcmd.c
index 395f506..f3716d7 100644
--- a/src/util/atcmd.c
+++ b/src/util/atcmd.c
@@ -91,9 +91,11 @@ int atcmd_main(struct lgsm_handle *lgsmh)
continue;
}
printf("STR=`%s'\n", buf);
+
+ /* this is a synchronous call for a passthrough
+ * command */
+ lgsm_passthrough(lgsmh, buf, rbuf, &rlen);
+ printf("RSTR=`%s'\n", rbuf);
}
- /* this is a synchronous call for a passthrough command */
- lgsm_passthrough(lgsmh, buf, rbuf, &rlen);
- printf("RSTR=`%s'\n", rbuf);
}
}
personal git repositories of Harald Welte. Your mileage may vary