Commit bcf58497 authored by Claes Sjofors's avatar Claes Sjofors

Log message sent via qcom, null termination was lost

parent 15215979
...@@ -710,7 +710,7 @@ log_message (errh_sLog *lp, char severity, const char *msg, va_list ap) ...@@ -710,7 +710,7 @@ log_message (errh_sLog *lp, char severity, const char *msg, va_list ap)
if (lp != NULL && lp->send) { if (lp != NULL && lp->send) {
lp->put.data = string; lp->put.data = string;
lp->put.size = strlen(string); lp->put.size = strlen(string) + 1;
qcom_Put(NULL, &lp->logQ, &lp->put); qcom_Put(NULL, &lp->logQ, &lp->put);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment