aboutsummaryrefslogtreecommitdiffstats
path: root/src/bnetz
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2016-02-16 18:56:55 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2016-04-24 15:19:00 +0200
commit16acdbf59d8b56f759efad3ad86c75b7e472b4cd (patch)
tree4d68ffd4b8c1d96652a6bc507eaf743d044b924b /src/bnetz
parent4b3e3385b5d7e4017e699a6fe399db2bcae064cf (diff)
Implementation of C-Netz (German mobile telephone system)
Diffstat (limited to 'src/bnetz')
-rw-r--r--src/bnetz/bnetz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bnetz/bnetz.c b/src/bnetz/bnetz.c
index 80701db..6a71db7 100644
--- a/src/bnetz/bnetz.c
+++ b/src/bnetz/bnetz.c
@@ -635,7 +635,7 @@ void bnetz_receive_telegramm(bnetz_t *bnetz, uint16_t telegramm, double quality,
PDEBUG(DBNETZ, DEBUG_INFO, "Setup call to network.\n");
rc = call_in_setup(callref, bnetz->station_id, dialing);
if (rc < 0) {
- PDEBUG(DBNETZ, DEBUG_NOTICE, "Call rejected (cause %d), releasing.\n", rc);
+ PDEBUG(DBNETZ, DEBUG_NOTICE, "Call rejected (cause %d), releasing.\n", -rc);
bnetz_release(bnetz);
return;
}