]> git.sur5r.net Git - openldap/commitdiff
missing 2nd argument to faxtotpc()
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 8 Nov 1998 02:08:18 +0000 (02:08 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 8 Nov 1998 02:08:18 +0000 (02:08 +0000)
clients/fax500/faxtotpc.c
clients/fax500/rp500.c

index 10d3ce2411e3feb43941792b8dc2065d9e6e93c1..727020f85f7adbdf434d20945aca24cd72f7e743 100644 (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).
  */
index df4271b25daa58da9e0b52c1640ba45717b5b0c2..b4fd84462fdaab762a0d46202e396c1112041628 100644 (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" );