Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Fix signature of platform_new_connection.
Browse files Browse the repository at this point in the history
The hostname is a const char *.
  • Loading branch information
codesquid authored and sgtatham committed Aug 15, 2015
1 parent 636f9cf commit a6bd42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pproxy.c
Expand Up @@ -8,7 +8,7 @@
#include "network.h"
#include "proxy.h"

Socket platform_new_connection(SockAddr addr, char *hostname,
Socket platform_new_connection(SockAddr addr, const char *hostname,
int port, int privport,
int oobinline, int nodelay, int keepalive,
Plug plug, Conf *conf)
Expand Down

0 comments on commit a6bd42c

Please sign in to comment.