Wireshark-commits: [Wireshark-commits] rev 43526: /trunk/epan/ /trunk/epan/: geoip_db.c geoip_db.h

Date: Thu, 28 Jun 2012 18:43:17 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43526

User: guy
Date: 2012/06/28 11:43 AM

Log:
 Constify the "string to return if not found" argument to
 geoip_db_lookup_ipv4() and geoip_db_lookup_ipv6().
 
 In both of those routines, "ret" is always set to a non-null value -
 it's initially set to the aforementioned string - so always return it.

Directory: /trunk/epan/
  Changes    Path          Action
  +7 -13     geoip_db.c    Modified
  +2 -2      geoip_db.h    Modified