enc cleanup

This commit is contained in:
Marcos Pinto 2007-06-07 19:15:47 +00:00
parent 8d30cbd9c1
commit d2ca1cc97e
1 changed files with 1 additions and 5 deletions

View File

@ -1232,11 +1232,7 @@ static PyObject *torrent_pe_settings(PyObject *self, PyObject *args)
M_pe_settings->prefer_rc4 = int(s.prefer_rc4);
printf("prefer rc4 is %d\r\n", s.prefer_rc4);
M_ses->set_pe_settings(*M_pe_settings);
return Py_BuildValue("{s:i,s:i,s:i,s:i}",
"out_enc_policy", int(s.out_enc_policy),
"in_enc_policy", int(s.in_enc_policy),
"allowed_enc_level", int(s.allowed_enc_level),
"prefer_rc4", int(s.prefer_rc4));
return Py_None;
}
//====================