base-modem-at: handle NULL responses from the serial parsing in sequences

This commit is contained in:
Aleksander Morgado
2012-10-22 12:33:19 +02:00
parent c5f3198a9f
commit 5978258d85

View File

@@ -176,7 +176,7 @@ at_sequence_parse_response (MMAtSerialPort *port,
ctx->self, ctx->self,
ctx->response_processor_context, ctx->response_processor_context,
ctx->current->command, ctx->current->command,
response->str, response ? response->str : NULL,
next->command ? FALSE : TRUE, /* Last command in sequence? */ next->command ? FALSE : TRUE, /* Last command in sequence? */
error, error,
&result, &result,