hnbgw_tx_hnb_register_rej(): Missing return statement

Change-Id: I0bdee8ede9ffdc16c16a4f5723acb7b4bceb2158
Fixes: Coverity CID#188869
This commit is contained in:
Harald Welte 2018-10-21 11:45:26 +02:00
parent a770f6967b
commit 9aad185151
1 changed files with 3 additions and 0 deletions

View File

@ -85,7 +85,10 @@ static int hnbgw_tx_hnb_register_rej(struct hnb_context *ctx)
} else {
/* The message was not queued. Destroy the connection right away. */
hnb_context_release(ctx);
return rc;
}
return 0;
}
static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx)