|
|
|
@ -324,14 +324,14 @@ GaduDCCTransaction::watcher() {
|
|
|
|
|
|
|
|
|
|
dccEvent = gg_dcc_watch_fd( dccSock_ );
|
|
|
|
|
if ( ! dccEvent ) {
|
|
|
|
|
// connection is fucked
|
|
|
|
|
// connection is bad
|
|
|
|
|
closeDCC();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
switch ( dccEvent->type ) {
|
|
|
|
|
case GG_EVENT_DCC_CLIENT_ACCEPT:
|
|
|
|
|
kdDebug(14100) << " GG_EVENT_DCC_CLIENT_ACCEPT " << endl;
|
|
|
|
|
// check dccsock->peer_uin, if unknown, fuck it;
|
|
|
|
|
// check dccsock->peer_uin, if unknown, oh well;
|
|
|
|
|
|
|
|
|
|
// is it for us ?
|
|
|
|
|
account = gaduDCC_->account( dccSock_->uin );
|
|
|
|
|