From: Hallvard Furuseth Date: Thu, 5 Nov 1998 05:06:51 +0000 (+0000) Subject: Prototype vs. K&R mismatch X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1193 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6df9dcc9433b73a8f56b09aa5835d7a5d8d32bd5;p=openldap Prototype vs. K&R mismatch --- diff --git a/servers/ldapd/certificate.c b/servers/ldapd/certificate.c index 1299b0cf55..01a57d21e2 100644 --- a/servers/ldapd/certificate.c +++ b/servers/ldapd/certificate.c @@ -309,9 +309,9 @@ void certif_init() { extern short ldap_certif_syntax; sntx_table *syntax_table; - extern sntx_table *get_syntax_table(); + extern sntx_table *get_syntax_table( short int sntx ); - if (syntax_table = get_syntax_table(ldap_certif_syntax)) { + if ((syntax_table = get_syntax_table(ldap_certif_syntax)) != NULL) { syntax_table->s_print = (void *) ldap_certif_print; syntax_table->s_parse = (void *) ldap_str2cert; } else