summaryrefslogtreecommitdiff
path: root/hostport.h
diff options
context:
space:
mode:
Diffstat (limited to 'hostport.h')
-rw-r--r--hostport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostport.h b/hostport.h
index ff3a309..d28f8ee 100644
--- a/hostport.h
+++ b/hostport.h
@@ -14,7 +14,7 @@ struct hostportres {
};
struct hostportres *newhostport(char *hostport, char *default_port, uint8_t prefixok);
-int addhostport(struct list **hostports, char *hostport, char *portdefault, uint8_t prefixok);
+int addhostport(struct list **hostports, char **hostport, char *portdefault, uint8_t prefixok);
void freehostport(struct hostportres *hp);
void freehostports(struct list *hostports);
int resolvehostport(struct hostportres *hp, int socktype, uint8_t passive);