From 4ed47b81be92fde9590a250993919c30725eec85 Mon Sep 17 00:00:00 2001 From: acetone Date: Sat, 19 Nov 2022 23:13:46 +0300 Subject: [PATCH] hf 12 --- src/main.cpp | 5 +++-- src/webpage.cpp | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f68ed3a..da39d77 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,12 +58,13 @@ void usage() "* Multi instanses supported. Just pass new one --instanse value!\n" "* Main 3proxy cfg must contain log to stdout with strict format:\n" " log\n" - " logformat \" type=%N destination=%n to=%I from=%O\"\n" + " logformat \" type=%N destination=%n to=%O from=%I\"\n" "* 3proxy cfg can contain blocked domains in format:\n" " {{vk.com,mail.ru,google.com}}\n" " This domains will be resolved automatically and replaced by:\n" " deny * * original.domain\n" - " deny * * 8.8.8.8,1.1.1.1 # resolved addresses" + " deny * * 8.8.8.8 # resolved addresses\n" + " deny * * 1.1.1.1\n" "* If the working directory contains a information.html, the Information\n" " box will be added to the web page. The block is full html-formatted.\n" "* The html folder can contain any files, they will be available\n" diff --git a/src/webpage.cpp b/src/webpage.cpp index a8d8f13..f2c0161 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -334,6 +334,5 @@ QPair WebPage::bytesToHumanReadableString(quint64 bytes) result.second = "PiB"; } - qDebug().noquote() << "Bytes to human-readable:" << bytes << "->" << result.first << result.second; return result; }