diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-22 12:33:19 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-22 12:33:19 +0200 |
commit | 5978258d85a148307a8ddb1c4dedccd81aa5871a (patch) | |
tree | e8f74d33717732583b2ee6ec547e316d5e84721a | |
parent | c5f3198a9fdcd22a342be496b7ba6751ea1b53d2 (diff) |
base-modem-at: handle NULL responses from the serial parsing in sequences
-rw-r--r-- | src/mm-base-modem-at.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-base-modem-at.c b/src/mm-base-modem-at.c index a67cf966..2dc32681 100644 --- a/src/mm-base-modem-at.c +++ b/src/mm-base-modem-at.c @@ -176,7 +176,7 @@ at_sequence_parse_response (MMAtSerialPort *port, ctx->self, ctx->response_processor_context, ctx->current->command, - response->str, + response ? response->str : NULL, next->command ? FALSE : TRUE, /* Last command in sequence? */ error, &result, |