mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 12:34:24 +00:00
fix some 'format not a string literal's
This commit is contained in:
parent
c1dde0f87e
commit
5d11289b4c
@ -4948,7 +4948,7 @@ retry:
|
||||
char buf[450];
|
||||
snprintf(buf, sizeof(buf), "%s: %s\n", time_now_string(), usr);
|
||||
// printf is the bitcoin/util.h logger
|
||||
printf(buf);
|
||||
printf("%s", buf);
|
||||
//(*m_logger) << buf;
|
||||
}
|
||||
#endif
|
||||
@ -6516,7 +6516,7 @@ retry:
|
||||
char buf[1280];
|
||||
snprintf(buf, sizeof(buf), "%s: %s\n", time_now_string(), usr);
|
||||
// printf is the bitcoin/util.h logger
|
||||
printf(buf);
|
||||
printf("%s", buf);
|
||||
//(*m_ses.m_logger) << buf;
|
||||
}
|
||||
#endif
|
||||
|
@ -8632,7 +8632,7 @@ namespace libtorrent
|
||||
, to_hex(info_hash().to_string()).substr(0, 6).c_str(), usr);
|
||||
//(*m_ses.m_logger) << buf;
|
||||
// [MF]
|
||||
printf(buf);
|
||||
printf("%s", buf);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user