diff options
Diffstat (limited to 'src/libvlr/vlr.c')
-rw-r--r-- | src/libvlr/vlr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libvlr/vlr.c b/src/libvlr/vlr.c index 62a68581a..291553884 100644 --- a/src/libvlr/vlr.c +++ b/src/libvlr/vlr.c @@ -1155,9 +1155,10 @@ int vlr_subscr_rx_id_resp(struct vlr_subscr *vsub, struct vlr_subscr **changed_v LOGVSUBP(LOGL_INFO, twin, "On ID Response (IMSI), found an already existing VLR entry for this IMSI." " Switching to the already existing VLR entry.\n"); - *changed_vsub = twin; + vsub = twin; + *changed_vsub = vsub; /* The other vsub should be released by use count release of the caller. */ - return 0; + break; } vlr_subscr_set_imsi(vsub, mi_string); |