Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrotter committed Dec 18, 2024
1 parent a6c88d9 commit bdc71f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librssguard/network-web/gemini/geminiclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void GeminiClient::socketReadyRead() {

return;
}
if (!isdigit(m_buffer[0])) {
if (!std::isdigit(m_buffer[0])) {
m_socket.close();

qDebug() << m_buffer;
Expand All @@ -292,7 +292,7 @@ void GeminiClient::socketReadyRead() {

return;
}
if (not isdigit(m_buffer[1])) {
if (!std::isdigit(m_buffer[1])) {
m_socket.close();

qDebug() << m_buffer;
Expand All @@ -304,7 +304,7 @@ void GeminiClient::socketReadyRead() {

// TODO: Implement stricter version
// if(buffer[2] != ' ') {
if (!isspace(m_buffer[2])) {
if (!std::isspace(m_buffer[2])) {
m_socket.close();

qDebug() << m_buffer;
Expand Down

0 comments on commit bdc71f3

Please sign in to comment.