mirror of
https://github.com/lxsang/antd-tunnel-publishers
synced 2025-09-01 00:32:02 +02:00
minor fix on error handling
This commit is contained in:
BIN
vterm/vterm
BIN
vterm/vterm
Binary file not shown.
@@ -357,6 +357,13 @@ int main(int argc, char** argv)
|
||||
if(msg.data)
|
||||
free(msg.data);
|
||||
}
|
||||
else
|
||||
{
|
||||
M_ERROR(MODULE_NAME, "Channel is not created: %s. Tunnel service responds with msg of type %d", MODULE_NAME, msg.header.type);
|
||||
if(msg.data)
|
||||
free(msg.data);
|
||||
running = 0;
|
||||
}
|
||||
|
||||
// now read data
|
||||
while(running)
|
||||
|
Reference in New Issue
Block a user