mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-06 14:53:52 +00:00
Upgrade the YSF reflector protocol and use a new .ini file.
This commit is contained in:
parent
f137449ae6
commit
79e006d4b9
15 changed files with 631 additions and 95 deletions
|
|
@ -12,6 +12,7 @@
|
|||
*/
|
||||
|
||||
#include "Utils.h"
|
||||
#include "Log.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
|
|
@ -27,7 +28,7 @@ void CUtils::dump(int level, const std::string& title, const unsigned char* data
|
|||
{
|
||||
assert(data != NULL);
|
||||
|
||||
::fprintf(stdout, "%s\n", title.c_str());
|
||||
::Log(level, "%s", title.c_str());
|
||||
|
||||
unsigned int offset = 0U;
|
||||
|
||||
|
|
@ -58,7 +59,7 @@ void CUtils::dump(int level, const std::string& title, const unsigned char* data
|
|||
|
||||
output += '*';
|
||||
|
||||
::fprintf(stdout, "%04X: %s\n", offset, output.c_str());
|
||||
::Log(level, "%04X: %s", offset, output.c_str());
|
||||
|
||||
offset += 16U;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue