Improve country() by using "static const" for lookup table (makes function 25% smaller)

and const-correctness.  Add .mobi TLD.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@112 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2011-03-23 11:17:23 +00:00
parent 94550b1fac
commit b17b09949b
4 changed files with 9 additions and 8 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2c01]
* Improve country() and add .mobi TLD. (caf)
* Apply fixes from darkfires removing non-standard use of arithmetic on
void * values, to allow building on Irix. (caf)