summaryrefslogtreecommitdiff
path: root/src/util/atcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/atcmd.c')
-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 6cf9aa7..61f7032 100644
--- a/src/util/atcmd.c
+++ b/src/util/atcmd.c
@@ -44,6 +44,8 @@ int atcmd_main(struct lgsm_handle *lgsmh)
break;
}
rc = lgsm_handle_packet(lgsmh, buf, rc);
+ if (rc < 0)
+ printf("ERROR processing packet: %d(%s)\n", rc, strerror(rc));
}
if (FD_ISSET(0, &readset)) {
/* we've received something on stdin. send it as passthrough
personal git repositories of Harald Welte. Your mileage may vary