mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
provide simple output to stderr (fix #330)
This commit is contained in:
1 parent
7228c0ebc3
commit
78827d75fe
1 file changed
+2
@@ -5,6 +5,8 @@
|
||||
#include "common.h"
|
||||
|
||||
|
||||
#define print_message(sink, format, file, line) fprintf(stderr, format, file, line)
|
||||
|
||||
static char* resolve_listen(const char *hostname, const char *port) {
|
||||
/* Need room in the strcat for \0 and :
|
||||
* the format in the socket unit file is hostname:port */
|
||||
|
||||
Reference in new issue
Block a user