summaryrefslogtreecommitdiff
path: root/src/util/atcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/atcmd.c')
-rw-r--r--src/util/atcmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/atcmd.c b/src/util/atcmd.c
index e31f81f..36984b5 100644
--- a/src/util/atcmd.c
+++ b/src/util/atcmd.c
@@ -92,6 +92,7 @@ int atcmd_main(struct lgsm_handle *lgsmh)
/* this is a synchronous call for a passthrough
* command */
+ rlen = STDIN_BUF_SIZE + 1;
lgsm_passthrough(lgsmh, buf, rbuf, &rlen);
printf("RSTR=`%s'\n", rbuf);
personal git repositories of Harald Welte. Your mileage may vary