diff options
author | Ian Moffett <ian@osmora.org> | 2024-09-29 22:34:07 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-09-29 22:34:07 -0400 |
commit | 788b1308e86320882245159540ef0a489209bcf1 (patch) | |
tree | 411168712c5ea02e7d818ad4ea178c8160e7a406 /lib/libostp/session.c | |
parent | 6107a37ae0f8ad89ab6d2d36f93cc0d47f8bb47a (diff) |
libostp: session: Use DIAGNOSTIC
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libostp/session.c')
-rw-r--r-- | lib/libostp/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libostp/session.c b/lib/libostp/session.c index 4bc6fb4..e3f1fd9 100644 --- a/lib/libostp/session.c +++ b/lib/libostp/session.c @@ -32,6 +32,7 @@ #include <net/param.h> #include <crypto/ecdh.h> #include <defs.h> +#include <otconfig.h> #include <arpa/inet.h> #include <termios.h> #include <stdint.h> @@ -41,7 +42,7 @@ #define OSTP_PORT 5352 -#if LIBOSTP_DEBUG +#if DIAGNOSTIC #define LOG(...) printf("libostp: %s", __VA_ARGS__) #else #define LOG(...) (void)0 |