Skip to content

Commit

Permalink
Call read_request()
Browse files Browse the repository at this point in the history
  • Loading branch information
uhlin committed Feb 17, 2024
1 parent d2953cb commit 5ed1741
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/commands/dcc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,14 @@ dcc::handle_incoming_conn(SSL *ssl)
"successful because a fatal error occurred", __func__);
return;
}

std::string nick("");
std::string filename("");

if (read_request(ssl, nick, filename) != OK) {
printtext_print("warn", "%s: read request error", __func__);
return;
}
}

bool
Expand Down

0 comments on commit 5ed1741

Please sign in to comment.