Index: gsm/src/util/atcmd.c =================================================================== --- gsm.orig/src/util/atcmd.c 2007-07-31 11:44:32.000000000 +0200 +++ gsm/src/util/atcmd.c 2007-07-31 11:46:44.000000000 +0200 @@ -91,9 +91,11 @@ continue; } printf("STR=`%s'\n", buf); + + /* this is a synchronous call for a passthrough + * command */ + lgsm_passthrough(lgsmh, buf, rbuf, &rlen); + printf("RSTR=`%s'\n", rbuf); } - /* this is a synchronous call for a passthrough command */ - lgsm_passthrough(lgsmh, buf, rbuf, &rlen); - printf("RSTR=`%s'\n", rbuf); } }