cvs: php4 /ext/standard/ levenshtein.c

[email protected] ("Andi Gutmans")
Newsgroups php.version4
Message-ID <cvsandi959092942@cvsserver>
andi		Tue May 23 16:42:22 2000 EDT

  Modified files:
    /php4/ext/standard	levenshtein.c 
  Log:
  - English fix.
  
  
Index: php4/ext/standard/levenshtein.c
diff -u php4/ext/standard/levenshtein.c:1.2 php4/ext/standard/levenshtein.c:1.3
--- php4/ext/standard/levenshtein.c:1.2	Tue May 23 16:37:39 2000
+++ php4/ext/standard/levenshtein.c	Tue May 23 16:42:22 2000
@@ -15,7 +15,7 @@
    | Author: Bjørn Borud - Guardian Networks AS <[email protected]>       |
    +----------------------------------------------------------------------+
  */
-/* $Id: levenshtein.c,v 1.2 2000/05/23 14:37:39 hholzgra Exp $ */
+/* $Id: levenshtein.c,v 1.3 2000/05/23 14:42:22 andi Exp $ */
 
 #include "php.h"
 #include <stdlib.h>
@@ -108,7 +108,7 @@
 	l = calc_levdist((*str1)->value.str.val, (*str2)->value.str.val);
 
 	if(l<0) {
-		php_error(E_WARNING,"levenshtein(): argument string(s) to long");
+		php_error(E_WARNING,"levenshtein(): argument string(s) too long");
 	}
 
 	RETURN_LONG(l);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.