wok-6.x view gajim/stuff/host_srv.patch @ rev 5930

Add: libcss, libcss-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 30 16:50:30 2010 +0200 (2010-07-30)
parents
children
line source
1 --- gajim-0.12.3/src/common/nslookup.py.orig Sun Jun 28 13:34:21 2009
2 +++ gajim-0.12.3/src/common/nslookup.py Sun Jun 28 13:35:23 2009
3 @@ -123,11 +123,11 @@
4 line = helpers.decode_string(line)
5 domain = ufqdn
6 if domain:
7 - rest = line[len(domain):].split('=')
8 + rest = line[len(domain):].split('record')
9 if len(rest) != 2:
10 continue
11 answer_type, props_str = rest
12 - if answer_type.strip() != 'service':
13 + if answer_type.strip() != 'has SRV':
14 continue
15 props = props_str.strip().split(' ')
16 if len(props) < 4:
17 @@ -296,7 +296,7 @@
18 return
20 def _compose_command_args(self):
21 - return ['nslookup', '-type=' + self.type , self.host]
22 + return ['host', '-t ' + self.type , self.host]
24 def _return_result(self):
25 if self.result_handler: