aboutsummaryrefslogtreecommitdiffstats
path: root/src/luop.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-06 03:20:14 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-10-10 02:38:37 +0200
commit518335e688ea79a41cb6ce0b6b65ad829ece6f3f (patch)
tree71e111bee8e75778fc0dac527a597b5be9660d6c /src/luop.c
parent4bde949b34a8dc53734373e57b5e36955775b81d (diff)
cosmetic: rename db_subscr_get() to db_subscr_get_by_imsi()
There will be more additions, _by_msisdn() and _by_id(), to serve the upcoming VTY commands, to allow flexibly selecting subscribers as in the old OsmoNITB. Change-Id: I32fa676ccc5c10eba834c4390c8a42476b9c1961
Diffstat (limited to 'src/luop.c')
-rw-r--r--src/luop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luop.c b/src/luop.c
index 937c02c..1b17fe3 100644
--- a/src/luop.c
+++ b/src/luop.c
@@ -95,7 +95,7 @@ bool lu_op_fill_subscr(struct lu_operation *luop, struct db_context *dbc,
{
struct hlr_subscriber *subscr = &luop->subscr;
- if (db_subscr_get(dbc, imsi, subscr) < 0)
+ if (db_subscr_get_by_imsi(dbc, imsi, subscr) < 0)
return false;
return true;