impurecord.c: corrected small bug in remove_impucontact_from_list()

Pre-Submission Checklist

Type Of Change

Checklist:

Description

corrected 2 small bugs in function remove_impucontact_from_list:
nullify tail->next if tail removed
in remove mid-list the pointer to previous contact was not set correctly

These issues were brought up by https://github.com/thulasizwe-n at another pull request:
#1547 (comment)


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1562

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.