mirror of
https://github.com/opus-tango/http-server-in-c.git
synced 2026-03-20 03:55:25 +00:00
disable debug level logs on make release
This commit is contained in:
@@ -19,7 +19,12 @@
|
||||
#include "logging.h"
|
||||
|
||||
struct sockaddr_in server_addr;
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define DEBUG 1
|
||||
#else
|
||||
#define DEBUG 0
|
||||
#endif
|
||||
|
||||
int main() {
|
||||
open_log_file();
|
||||
|
||||
Reference in New Issue
Block a user