summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authortick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-01 01:57:09 +0000
committertick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-01 01:57:09 +0000
commit9fd5a57b64a19cf9850fcd3a333fb926f2bf1a44 (patch)
tree28fdf4d5f94e89bd70308d665efa38a495379154 /src/util
parentd88e15979081740b86f48a78c81df56f5122a2c4 (diff)
gsmd: Severe clean-up (Andrzej Zaborowski)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3546 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/util')
-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