From: Hallvard Furuseth Date: Sun, 8 Nov 1998 02:08:18 +0000 (+0000) Subject: missing 2nd argument to faxtotpc() X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1162 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=745dfd02985c08a8116bcf1f48b1f19838de2468;p=openldap missing 2nd argument to faxtotpc() --- diff --git a/clients/fax500/faxtotpc.c b/clients/fax500/faxtotpc.c index 10d3ce2411..727020f85f 100644 --- a/clients/fax500/faxtotpc.c +++ b/clients/fax500/faxtotpc.c @@ -13,8 +13,7 @@ * Routines for parsing the facsimileTelephoneNumber field out of * an X.500 entry and converting it to a "tpc.int" domain name. * - * char *faxtotpc(str) - * char *str; + * char *faxtotpc( char *str, char *userinfo) * * faxtotpc() returns a pointer to a string allocated with malloc(3). */ diff --git a/clients/fax500/rp500.c b/clients/fax500/rp500.c index df4271b25d..b4fd84462f 100644 --- a/clients/fax500/rp500.c +++ b/clients/fax500/rp500.c @@ -258,7 +258,7 @@ print_entry( ld, e ) fprintf( stderr, "Entry \"%s\" has no fax number.\n", dn ); exit( 1 ); } - faxmail = faxtotpc( fax[0] ); + faxmail = faxtotpc( fax[0], NULL ); title = ldap_get_values( ld, e, "title" ); phone = ldap_get_values( ld, e, "telephoneNumber" ); mail = ldap_get_values( ld, e, "mail" );