Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
…

Change-Id: I8dfaa1fab2dd712bc09d9689b9eaf657b72a2c5e
  • Loading branch information
ovari committed Dec 15, 2024
1 parent db701e4 commit 7889017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/upnp/protocol/pupnp/pupnp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ PUPnP::initUpnpLib()

// Disable embedded Web server if any.
if (UpnpIsWebserverEnabled() == 1) {
if (logger_) logger_->warn("PUPnP: Web server is enabled. Disabling");
if (logger_) logger_->warn("PUPnP: Web server is enabled. Disabling");
UpnpEnableWebserver(0);
if (UpnpIsWebserverEnabled() == 1) {
if (logger_) logger_->error("PUPnP: Unable to disable Web server!");
} else {
if (logger_) logger_->debug("PUPnP: Web server successfully disabled");
if (logger_) logger_->debug("PUPnP: Successfully disabled Web server");
}
}

Expand Down

0 comments on commit 7889017

Please sign in to comment.