diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-06-07 14:07:05 +0200 |
---|---|---|
committer | Holger Freyther <holger@freyther.de> | 2016-06-10 11:13:23 +0000 |
commit | 6922bcd929d584bbb04b0f0fb190698c6e99f6de (patch) | |
tree | 91bb04c57eded8f8716e0cd5b8f7595dfd362ec4 /src/tbf_dl.cpp | |
parent | 7fdbf89ef3cc14bc806ffbbfa0c7a78b24079581 (diff) |
tbf_dl: correct tbf name in log message for moving a DL TBF
It makes no sense to call functions on null pointer object. Use
the name of the old tbf.
Change-Id: I93b8c07a0b2de40a11e94fd6c212897cbe3b50ef
Reviewed-on: https://gerrit.osmocom.org/212
Tested-by: Jenkins Builder
Reviewed-by: Holger Freyther <holger@freyther.de>
Diffstat (limited to 'src/tbf_dl.cpp')
-rw-r--r-- | src/tbf_dl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp index 59316763..9dd4bfc0 100644 --- a/src/tbf_dl.cpp +++ b/src/tbf_dl.cpp @@ -214,7 +214,7 @@ int gprs_rlcmac_dl_tbf::handle(struct gprs_rlcmac_bts *bts, LOGP(DRLCMAC, LOGL_NOTICE, "%s IMSI %s: " "moving DL TBF to new MS object\n", - dl_tbf->name(), imsi); + ms_old->dl_tbf()->name(), imsi); dl_tbf = ms_old->dl_tbf(); /* Move the DL TBF to the new MS */ dl_tbf->set_ms(ms); |