mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-06-27 17:00:36 -04:00
Code cleanup
This commit is contained in:
parent
24c0b7220e
commit
55b42f27b6
1 changed files with 6 additions and 6 deletions
|
@ -326,14 +326,14 @@ int main(int argc, char** argv)
|
|||
|
||||
kiwix::IpMode ipMode = kiwix::IpMode::AUTO;
|
||||
|
||||
if (address == "all"){
|
||||
address = "";
|
||||
if (address == "all") {
|
||||
address.clear();
|
||||
ipMode = kiwix::IpMode::ALL;
|
||||
} else if (address == "ipv4"){
|
||||
address = "";
|
||||
} else if (address == "ipv4") {
|
||||
address.clear();
|
||||
ipMode = kiwix::IpMode::IPV4;
|
||||
} else if (address == "ipv6"){
|
||||
address = "";
|
||||
} else if (address == "ipv6") {
|
||||
address.clear();
|
||||
ipMode = kiwix::IpMode::IPV6;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue