aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/inet_net_ntop.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-01-01 04:17:13 +0000
committerBruce Momjian <bruce@momjian.us>1999-01-01 04:17:13 +0000
commitd8ae7ffb2f81587d513951e5244f5cd97db508e8 (patch)
tree036d74f7f16d2aed2ce8025df7687e7aa0155c75 /src/backend/utils/adt/inet_net_ntop.c
parentda361ee24b6b64923fb646363031b21d28d8b028 (diff)
downloadpostgresql-d8ae7ffb2f81587d513951e5244f5cd97db508e8.tar.gz
postgresql-d8ae7ffb2f81587d513951e5244f5cd97db508e8.zip
Fix for no platform NAN.
Diffstat (limited to 'src/backend/utils/adt/inet_net_ntop.c')
-rw-r--r--src/backend/utils/adt/inet_net_ntop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/utils/adt/inet_net_ntop.c b/src/backend/utils/adt/inet_net_ntop.c
index 87f14dec944..d8cd2ff4497 100644
--- a/src/backend/utils/adt/inet_net_ntop.c
+++ b/src/backend/utils/adt/inet_net_ntop.c
@@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.3 1998/10/22 13:16:25 momjian Exp $";
+static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.4 1999/01/01 04:17:13 momjian Exp $";
#endif
@@ -189,7 +189,6 @@ inet_net_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size)
char *odst = dst;
char *t;
size_t len = 4;
- u_int m;
int b, tb;
if (bits < 0 || bits > 32)