mirror of
https://github.com/schoebel/mars
synced 2025-02-17 12:37:20 +00:00
server: safeguard error handling
This commit is contained in:
parent
0f6c98ae4d
commit
b7f1e97def
@ -77,6 +77,7 @@ int cb_thread(void *data)
|
||||
status = -EINVAL;
|
||||
CHECK_PTR(mref, err);
|
||||
|
||||
status = 0;
|
||||
if (!aborted) {
|
||||
down(&brick->socket_sem);
|
||||
status = mars_send_cb(sock, mref);
|
||||
|
Loading…
Reference in New Issue
Block a user