mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
fix compilation when libproxyprotocol is not present
This commit is contained in:
1 parent
5ad1ea1e25
commit
0e7885bc9f
3 files changed
+6
-2
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ int pp_write_header(int pp_version, struct connection* cnx);
|
||||
|
||||
#else /* HAVE_PROXYPROTOCOL */
|
||||
|
||||
static inline int pp_write_header(int pp_version, struct connection* cnx) {}
|
||||
static inline int pp_write_header(int pp_version, struct connection* cnx) { return 0; }
|
||||
|
||||
#endif /* HAVE_PROXYPROTOCOL */
|
||||
|
||||
|
||||
Reference in new issue
Block a user