missing 2nd argument to faxtotpc()

This commit is contained in:
Hallvard Furuseth 1998-11-08 02:08:18 +00:00
parent 3bc58b5eec
commit 745dfd0298
2 changed files with 2 additions and 3 deletions

View file

@ -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).
*/

View file

@ -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" );