From: Quanah Gibson-Mount Date: Thu, 29 Oct 2020 19:55:37 +0000 (+0000) Subject: ITS#9380 - Fix return type for connection_write_resume X-Git-Tag: OPENLDAP_REL_ENG_2_5_1ALPHA~18^2~237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f0883d161357d30700bd8f64d3646ef6db1bee8;p=thirdparty%2Fopenldap.git ITS#9380 - Fix return type for connection_write_resume --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 8e0691a7d8..d721d8ee7d 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -2018,7 +2018,7 @@ int connection_write(ber_socket_t s) return 0; } -int connection_write_resume( Connection *c ) +void connection_write_resume( Connection *c ) { Operation *op; diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 7a3cb5718f..acedf1659b 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -809,7 +809,7 @@ LDAP_SLAPD_F (const char *) connection_state2str LDAP_P(( int state )) LDAP_SLAPD_F (int) connection_read_activate LDAP_P((ber_socket_t s)); LDAP_SLAPD_F (int) connection_write LDAP_P((ber_socket_t s)); -LDAP_SLAPD_F (int) connection_write_resume LDAP_P((Connection *c)); +LDAP_SLAPD_F (void) connection_write_resume LDAP_P((Connection *c)); LDAP_SLAPD_F (void) connection_op_finish LDAP_P(( Operation *op ));