Open slr opened 9 years ago
No objections, go ahead! :-)
I looked in the code again and as I see we have printf defined as _myprintf in netbase.cpp:16
and there is a some declaration of that in util.h:97
:
bool static inline my_printf(std::string err, ...) {
return true;
}
can you guide me in next points:
util.cpp
(or main.cpp
as I wanted first)?
what if we add -s option whose value goes to
extern int bSilent;
and some wrapper over vprintf() named writec() instead of printf()?I'm far away from C and C++ yet, but I'm thinking I caught this right.