Wireshark-commits: [Wireshark-commits] master 3db13c7: Don't fail in host_name_lookup_init() if man

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 22 Apr 2016 23:45:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3db13c7bbbc2b8dfd864ffe7278c0f8f5491bfc7
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3db13c7 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't fail in host_name_lookup_init() if manually resolved lists exist.
    
    Those lists aren't destroyed by host_name_lookup_cleanup(), so don't
    assume in host_name_lookup_init() that they don't exist; just create
    them if they don't exist and leave them alone if they do.
    
    (GSLists and GLists are different from wmem_lists - a pointer to a GLib
    list is just a pointer to a list element, so an empty list is
    represented by a null pointer, but a wmem_list has a structure
    containing other information, so an empty list has null list pointers in
    that structure, and a null wmem_list * means the list doesn't exist at
    all.)
    
    Change-Id: I88c00cc9ac0812ab71adc70e3300ab3829fee8ab
    Reviewed-on: https://code.wireshark.org/review/15061
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  249f87a   There's no version.h.in file.
    adds  3db13c7   Don't fail in host_name_lookup_init() if manually resolved lists exist.


Summary of changes:
 epan/addr_resolv.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)