diff options
| author | Tom Lane | 2003-06-09 17:59:19 +0000 |
|---|---|---|
| committer | Tom Lane | 2003-06-09 17:59:19 +0000 |
| commit | cdfb3d99811d4b1c99c2e0c29ff8cba5043f0c91 (patch) | |
| tree | 87b92fbdf9854bd77bc420a4fae1cc6eb25a4e9d /src/include | |
| parent | 2df532d9a2b79f27f17235b3b125bd0ab977b7d8 (diff) | |
freeaddrinfo2() does need two parameters after all, per comment by
Kurt Roeckx. Add some documentation to try to prevent others from
repeating my mistake.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/libpq/ip.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/ip.h b/src/include/libpq/ip.h index 78f52376143..7e910d5cbb2 100644 --- a/src/include/libpq/ip.h +++ b/src/include/libpq/ip.h @@ -5,7 +5,7 @@ * * Copyright (c) 2003, PostgreSQL Global Development Group * - * $Id: ip.h,v 1.4 2003/06/08 17:43:00 tgl Exp $ + * $Id: ip.h,v 1.5 2003/06/09 17:59:19 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -19,7 +19,7 @@ extern int getaddrinfo2(const char *hostname, const char *servname, const struct addrinfo *hintp, struct addrinfo **result); -extern void freeaddrinfo2(struct addrinfo *ai); +extern void freeaddrinfo2(int hint_ai_family, struct addrinfo *ai); extern char *SockAddr_ntop(const SockAddr *sa, char *dst, size_t cnt, int v4conv); |
