summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjserv <jserv@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-09-12 17:32:23 +0000
committerjserv <jserv@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-09-12 17:32:23 +0000
commitd5cbcad65ca488fe933041b53fc1f71b9bfa3a35 (patch)
tree74dfb79abca659760e5f3d11d028e41509e0e3ad /src
parente1e1b68385af90843e962b68526d679796af78c0 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/util/atcmd.c2
1 files changed, 2 insertions, 0 deletions
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);
}
}
}
personal git repositories of Harald Welte. Your mileage may vary