libgaim/protocols/jabber/jabber.c

changeset 14697
518c0fae208e
parent 14668
7922f83d37df
child 14700
98dc3d9a69e3
equal deleted inserted replaced
14696:461fd462ff3e 14697:518c0fae208e
400 400
401 if((len = read(js->fd, buf, sizeof(buf) - 1)) > 0) { 401 if((len = read(js->fd, buf, sizeof(buf) - 1)) > 0) {
402 #ifdef HAVE_CYRUS_SASL 402 #ifdef HAVE_CYRUS_SASL
403 if (js->sasl_maxbuf>0) { 403 if (js->sasl_maxbuf>0) {
404 const char *out; 404 const char *out;
405 int olen; 405 unsigned int olen;
406 sasl_decode(js->sasl, buf, len, &out, &olen); 406 sasl_decode(js->sasl, buf, len, &out, &olen);
407 if (olen>0) { 407 if (olen>0) {
408 gaim_debug(GAIM_DEBUG_INFO, "jabber", "RecvSASL (%d): %s\n", olen, out); 408 gaim_debug(GAIM_DEBUG_INFO, "jabber", "RecvSASL (%u): %s\n", olen, out);
409 jabber_parser_process(js,out,olen); 409 jabber_parser_process(js,out,olen);
410 } 410 }
411 return; 411 return;
412 } 412 }
413 #endif 413 #endif

mercurial