From d5cbcad65ca488fe933041b53fc1f71b9bfa3a35 Mon Sep 17 00:00:00 2001 From: jserv Date: Wed, 12 Sep 2007 17:32:23 +0000 Subject: Fixlet to libgsmd-tool does not flush stdout in atcmd mode. PR833 - http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=833 git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2957 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/util/atcmd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/util/atcmd.c b/src/util/atcmd.c index f3716d7..011d112 100644 --- a/src/util/atcmd.c +++ b/src/util/atcmd.c @@ -96,6 +96,8 @@ int atcmd_main(struct lgsm_handle *lgsmh) * command */ lgsm_passthrough(lgsmh, buf, rbuf, &rlen); printf("RSTR=`%s'\n", rbuf); + + fflush(stdout); } } } -- cgit v1.2.3