From 9fd5a57b64a19cf9850fcd3a333fb926f2bf1a44 Mon Sep 17 00:00:00 2001 From: tick Date: Sat, 1 Dec 2007 01:57:09 +0000 Subject: gsmd: Severe clean-up (Andrzej Zaborowski) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3546 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/util/atcmd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util') 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); -- cgit v1.2.3