From d49a4777026b626332b97bc8f543e4baea5c3e2b Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 31 Jul 2005 18:05:51 +0000 Subject: [PATCH] Cleanup --- clients/tools/ldapmodify.c | 2 +- clients/tools/ldapmodrdn.c | 2 +- libraries/libldap/cyrus.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 44444d53ec..de2513ca26 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -1117,7 +1117,7 @@ static int process_response( { LDAPMessage *res; int rc = LDAP_OTHER; - struct timeval tv = { 0 }; + struct timeval tv = { 0, 0 }; for ( ; ; ) { tv.tv_sec = 0; diff --git a/clients/tools/ldapmodrdn.c b/clients/tools/ldapmodrdn.c index 33c4b2934e..e87e13d7d7 100644 --- a/clients/tools/ldapmodrdn.c +++ b/clients/tools/ldapmodrdn.c @@ -265,7 +265,7 @@ static int domodrdn( } for ( ; ; ) { - struct timeval tv = { 0 }; + struct timeval tv = { 0, 0 }; if ( tool_check_abandon( ld, id ) ) { return LDAP_CANCELLED; diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 13baa9a280..18c493688c 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -877,7 +877,7 @@ static struct { { BER_BVC("minssf="), 0, GOT_MINSSF, 0 }, { BER_BVC("maxssf="), 0, GOT_MAXSSF, INT_MAX }, { BER_BVC("maxbufsize="), 0, GOT_MAXBUF, 65536 }, - { BER_BVNULL, 0, 0 } + { BER_BVNULL, 0, 0, 0 } }; void ldap_pvt_sasl_secprops_unparse( -- 2.39.5