Commit b914c1f6 authored by Claes Sjofors's avatar Claes Sjofors Committed by Claes Sjöfors

remote_logg, some ini events wasn't handled

parent 8cda40a6
...@@ -116,6 +116,7 @@ static pwr_tStatus logg_print(logg_ctx loggctx, pwr_tUInt32 ident, char* msg); ...@@ -116,6 +116,7 @@ static pwr_tStatus logg_print(logg_ctx loggctx, pwr_tUInt32 ident, char* msg);
static pwr_tStatus logg_get_message( static pwr_tStatus logg_get_message(
logg_ctx loggctx, pwr_tUInt32* ident, char** msg); logg_ctx loggctx, pwr_tUInt32* ident, char** msg);
static pwr_tStatus logg_init(logg_ctx loggctx); static pwr_tStatus logg_init(logg_ctx loggctx);
static pwr_tStatus logg_free_message(void);
/**************************************************************************** /****************************************************************************
* Name: exit_hdlr() * Name: exit_hdlr()
...@@ -443,7 +444,8 @@ static pwr_tStatus logg_get_message( ...@@ -443,7 +444,8 @@ static pwr_tStatus logg_get_message(
exit(0); exit(0);
} }
} }
logg_free_message();
return QCOM__QEMPTY;
} else { } else {
*ident = *(pwr_tUInt32*)remlogg_get.data; *ident = *(pwr_tUInt32*)remlogg_get.data;
*msg = (char*)remlogg_get.data + sizeof(pwr_tUInt32); *msg = (char*)remlogg_get.data + sizeof(pwr_tUInt32);
......
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