mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 22:50:51 -05:00
missing 2nd argument to faxtotpc()
This commit is contained in:
parent
3bc58b5eec
commit
745dfd0298
2 changed files with 2 additions and 3 deletions
|
|
@ -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).
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue