I just noticed that there is a dialback secret, which is a child tag in my config file. But dialback.so entry point does this

d->secret = xmlnode_get_attrib(cfg,"secret");

looking for an attribute. Secret just feels a lot more like a child tag. Changing the code to

d->secret = pstrdup(i->p,xmlnode_get_tag_data(cfg,"secret"));

Reads the secret as a child tag of

<dialback xmlns='jabber:config:dialback'>

in the s2s section. No real functional difference, just keeps the config file more consistent with itself.

--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main 713.329.9330
Fax 713.460.4051
Mobile 512.789.1962

5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)

_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to