"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/irc/core/sasl.c" between
irssi-1.2.2.tar.gz and irssi-1.2.3.tar.gz

About: irssi is a terminal based IRC client that also supports SILC and ICB protocols via plugins.

sasl.c  (irssi-1.2.2):sasl.c  (irssi-1.2.3)
skipping to change at line 160 skipping to change at line 160
} }
server->sasl_buffer = NULL; server->sasl_buffer = NULL;
} else { } else {
enc_req = g_string_new_len(fragment, fragment_len); enc_req = g_string_new_len(fragment, fragment_len);
} }
/* /*
* Fail authentication with this server. They have sent too much data. * Fail authentication with this server. They have sent too much data.
*/ */
if (enc_req->len > AUTHENTICATE_MAX_SIZE) { if (enc_req->len > AUTHENTICATE_MAX_SIZE) {
g_string_free(enc_req, TRUE);
return FALSE; return FALSE;
} }
/* /*
* If the the request is exactly the chunk size, this is a fragment * If the the request is exactly the chunk size, this is a fragment
* and more data is expected. * and more data is expected.
*/ */
if (fragment_len == AUTHENTICATE_CHUNK_SIZE) { if (fragment_len == AUTHENTICATE_CHUNK_SIZE) {
server->sasl_buffer = enc_req; server->sasl_buffer = enc_req;
return TRUE; return TRUE;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)