wok-6.x diff gajim/stuff/host_srv.patch @ rev 7102
Changed libglademm TARBALL to .tar.bz2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 06:19:37 2010 +0000 (2010-11-03) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gajim/stuff/host_srv.patch Wed Nov 03 06:19:37 2010 +0000 1.3 @@ -0,0 +1,25 @@ 1.4 +--- gajim-0.12.3/src/common/nslookup.py.orig Sun Jun 28 13:34:21 2009 1.5 ++++ gajim-0.12.3/src/common/nslookup.py Sun Jun 28 13:35:23 2009 1.6 +@@ -123,11 +123,11 @@ 1.7 + line = helpers.decode_string(line) 1.8 + domain = ufqdn 1.9 + if domain: 1.10 +- rest = line[len(domain):].split('=') 1.11 ++ rest = line[len(domain):].split('record') 1.12 + if len(rest) != 2: 1.13 + continue 1.14 + answer_type, props_str = rest 1.15 +- if answer_type.strip() != 'service': 1.16 ++ if answer_type.strip() != 'has SRV': 1.17 + continue 1.18 + props = props_str.strip().split(' ') 1.19 + if len(props) < 4: 1.20 +@@ -296,7 +296,7 @@ 1.21 + return 1.22 + 1.23 + def _compose_command_args(self): 1.24 +- return ['nslookup', '-type=' + self.type , self.host] 1.25 ++ return ['host', '-t ' + self.type , self.host] 1.26 + 1.27 + def _return_result(self): 1.28 + if self.result_handler: