Ticket #705 (closed defect: fixed)
proxy name resolving
| Reported by: | pgrund | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3.4 |
| Component: | system | Version: | 1.3.0 |
| Keywords: | Cc: |
Description (last modified by erijo) (diff)
licq seems not to be able to resolve a hostname that is defined in the /etc/hosts file. For example i added a host named "proxy" to my hosts file to ease the usage of my notebook within different networks. any other programs like firefox resolv proxy correctly, but licq doesn't. after a while of debugging, i found out, that licq uses the method gethostbyname_r, which returns HOST_NOT_FOUND event if the host should have been found in the hosts file. (my hosts.conf tells my system to lookup the hosts file too). so, i just commented out the lines 132 to 136 in proxy.cpp. needless to say, i works pretty good right now! btw, licq is really a very very nice messenger! great work!
regards, peter
