git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4877 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-04-07 02:10:17 +00:00
parent 631e689eb1
commit b378d35534
3 changed files with 12 additions and 10 deletions

View File

@@ -640,7 +640,7 @@ static int on_disco_default(void *user_data, ikspak *pak)
iks *iq, *query, *tag;
uint8_t send = 0;
int x;
printf("WTF ?????\n");
if (pak && pak->query) {
ns = iks_find_attrib(pak->query, "xmlns");
node = iks_find_attrib(pak->query, "node");
@@ -766,6 +766,7 @@ static int on_presence(void *user_data, ikspak *pak)
if (resource && strstr(resource, "talk") && (buffer = apr_hash_get(handle->probe_hash, id, APR_HASH_KEY_STRING))) {
printf("WTF Lookup %s\n", from);
apr_cpystrn(buffer->buf, from, buffer->len);
fflush(stderr);
buffer->hit = 1;