osmo-iuh/0001-fix-return-values.patch

22 lines
655 B
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2018-12-11 14:44:48.979665889 +0100
Subject: [PATCH] fix return values
Fix yet more return value problems.
---
src/hnbgw_hnbap.c | 1 +
1 file changed, 1 insertion(+)
Index: osmo-iuh-0.3.0/src/hnbgw_hnbap.c
===================================================================
--- osmo-iuh-0.3.0.orig/src/hnbgw_hnbap.c
+++ osmo-iuh-0.3.0/src/hnbgw_hnbap.c
@@ -86,6 +86,7 @@ static int hnbgw_tx_hnb_register_rej(str
/* The message was not queued. Destroy the connection right away. */
hnb_context_release(ctx, true);
}
+ return 0;
}
static int hnbgw_tx_hnb_register_acc(struct hnb_context *ctx)