X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fphonetic.c;h=bfd2011be191f8017d61e7f00e830f514f7d54e9;hb=d9e7a7190b5f9e84dc0dba80f5bf1af993190218;hp=4934cbd31688b07b83e4379cb76575f79aa9171b;hpb=0e2af54a3ffdeebe3901370683be56fcc53023b0;p=openldap diff --git a/servers/slapd/phonetic.c b/servers/slapd/phonetic.c index 4934cbd316..bfd2011be1 100644 --- a/servers/slapd/phonetic.c +++ b/servers/slapd/phonetic.c @@ -161,9 +161,12 @@ phonetic( char *s ) return( ch_strdup( phoneme ) ); } -#else -#if defined(SLAPD_METAPHONE) +#elif defined(SLAPD_METAPHONE) +/* + * Metaphone was originally developed by Lawrence Philips and + * published in the "Computer Language" magazine in 1990. + */ /* * Metaphone copied from C Gazette, June/July 1991, pp 56-57, * author Gary A. Parker, with changes by Bernard Tiffany of the @@ -432,5 +435,4 @@ phonetic( char *Word ) return( ch_strdup( buf ) ); } -#endif /* metaphone */ -#endif /* SLAPD_PHONETIC */ +#endif /* SLAPD_METAPHONE */