Remove unnecessary language.

pull/1/head
Darrell Anderson 12 years ago
parent dae1f24c07
commit 6e428cdbf8

@ -159,7 +159,7 @@ GaduDCCServer::watcher() {
dccEvent = gg_dcc_watch_fd( dccSock ); dccEvent = gg_dcc_watch_fd( dccSock );
if ( ! dccEvent ) { if ( ! dccEvent ) {
// connection is fucked // connection is bad
// we should try to reenable it // we should try to reenable it
// closeDCC(); // closeDCC();
return; return;

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

@ -958,7 +958,7 @@ namespace KPF
int headerBytesWritten = d->socket.writeBlock(data, bytesToWrite); int headerBytesWritten = d->socket.writeBlock(data, bytesToWrite);
// <rant> // <rant>
// Using -1 to signal an error is fucking evil. // Using -1 to signal an error is evil.
// Return false instead or add a 'bool & ok' parameter. // Return false instead or add a 'bool & ok' parameter.
// If you're not going to use exceptions, at least don't use // If you're not going to use exceptions, at least don't use
// crap C conventions for error handling. // crap C conventions for error handling.

Loading…
Cancel
Save