diff options
Diffstat (limited to 'inet/tst-getni2.c')
-rw-r--r-- | inet/tst-getni2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/tst-getni2.c b/inet/tst-getni2.c index b949d888d5..66e78062ba 100644 --- a/inet/tst-getni2.c +++ b/inet/tst-getni2.c @@ -23,7 +23,7 @@ do_test (void) puts ("failed without NI_NAMEREQD"); retval = 1; } - + buf[0] = '\0'; r = getnameinfo((struct sockaddr *) &s, sizeof (s), buf, sizeof (buf), NULL, 0, NI_NUMERICSERV | NI_NAMEREQD); |