scpi: Limit the log message in get_string() to 70 characters.

This commit is contained in:
poljar (Damir Jelić) 2014-01-28 17:13:00 +01:00 committed by Bert Vermeulen
parent 9d156555a5
commit 1c873c114c
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ SR_PRIV int sr_scpi_get_string(struct sr_scpi_dev_inst *scpi,
*scpi_response = response->str;
g_string_free(response, FALSE);
sr_spew("Got response: '%s'.", *scpi_response);
sr_spew("Got response: '%.70s'.", *scpi_response);
return SR_OK;
}