summaryrefslogtreecommitdiff
path: root/channels/chan_misdn.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r--channels/chan_misdn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c
index 8f9d5fb0b..a85392eed 100644
--- a/channels/chan_misdn.c
+++ b/channels/chan_misdn.c
@@ -11081,7 +11081,7 @@ static int misdn_command_cc_deactivate(struct ast_channel *chan, struct misdn_co
error_str = misdn_no_response_from_network;
} else if (cc_record->reject_code != FacReject_None) {
error_str = misdn_to_str_reject_code(cc_record->reject_code);
- } else if (cc_record->reject_code != FacError_None) {
+ } else if (cc_record->error_code != FacError_None) {
error_str = misdn_to_str_error_code(cc_record->error_code);
} else {
error_str = NULL;