mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-23 07:35:37 +02:00
tweaked debug logging in i2pd_qt
This commit is contained in:
parent
e42efec220
commit
b5aa67b491
2 changed files with 11 additions and 3 deletions
qt/i2pd_qt
|
@ -18,7 +18,7 @@ namespace logviewer {
|
|||
|
||||
QString Worker::pollAndShootATimerForInfiniteRetries() {
|
||||
std::shared_ptr<std::iostream> logStream=logViewerManager.getLogStream();
|
||||
assert(logStream!=nullptr);
|
||||
if(!logStream)return "";
|
||||
std::streamsize MAX_SZ=64*1024;
|
||||
char*buf=(char*)malloc(MAX_SZ*sizeof(char));
|
||||
if(buf==nullptr)return "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue