diff options
-rw-r--r-- | tests/clients/yp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/clients/yp.c b/tests/clients/yp.c index ceb092a..dc5c4d5 100644 --- a/tests/clients/yp.c +++ b/tests/clients/yp.c @@ -1,5 +1,5 @@ /* - * Copyright 2008 Red Hat, Inc. + * Copyright 2008,2011 Red Hat, Inc. * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -382,6 +382,7 @@ main(int argc, char **argv) } server.sin_port = htons(port); memset(&timeout, 0, sizeof(timeout)); + memset(&tv, 0, sizeof(tv)); tv.tv_sec = timeout; sock = RPC_ANYSOCK; client = |