diff --git a/src/include/cexp.h b/src/include/cexp.h index 0097ed2..7afb45c 100644 --- a/src/include/cexp.h +++ b/src/include/cexp.h @@ -17,8 +17,8 @@ struct exp_data* get_from_list(int index); void clear_list(); // Tracing -#define PRINT_LINE(msg, args...) fprintf(stdout, #msg "\n", ##args) -#define TRACE_WARN(msg, args...) fprintf(stdout, "[Warning]: " #msg "\n", ##args) -#define TRACE_ERROR(msg, args...) fprintf(stderr, "[ERROR]: " #msg "\n", ##args) +#define PRINT_LINE(msg, args...) fprintf(stdout, msg "\n", ##args) +#define TRACE_WARN(msg, args...) fprintf(stdout, "[Warning]: " msg "\n", ##args) +#define TRACE_ERROR(msg, args...) fprintf(stderr, "[ERROR]: " msg "\n", ##args) #endif diff --git a/src/main.c b/src/main.c index 6d13525..8e2d52f 100644 --- a/src/main.c +++ b/src/main.c @@ -15,9 +15,9 @@ int main(int argc, char *argv[]) signal(SIGINT, app_cleanup); list_add("Socket server", "server", start_server); list_add("Socket client", "client", clientstart); - + printf(" _____ \n / ____| \n | | _____ ___ __ \n | | / _ \\ \\/ / '_ \\ \n | |___| __/> <| |_) |\n \\_____\\___/_/\\_\\ .__/ \n | | \n |_| \n"); - + // Check for argruments and if we can use them. int result = checkarg(argc, argv); if (result == 0)