Date: Sat, 30 Nov 2002 16:01:27 +0300
From: Alexander I. Lebedev <db@scon155.phys.msu.su>
To: htdig-general@lists.sourceforge.net
Subject: [htdig] a little bug in htdig/HTML.cc

Hi!

I found a little bug in htdig/HTML.cc code after having added the translation
between different encodings in Russian I needed.  The bug can bother not only
Russian people but also people who use European languages other than English.
See the patch below.

- Alexander

------------------------------------------------
--- HTML.cc.orig	Sun Sep 29 11:13:07 2002
+++ HTML.cc	Sat Nov 30 15:26:26 2002
@@ -747,7 +747,7 @@
 		    if (meta_dsc.length() > max_meta_description_length)
 		     meta_dsc = meta_dsc.sub(0, max_meta_description_length).get();
 		   if (debug > 1)
-		     cout << "META Description: " << attrs["content"] << endl;
+		     cout << "META Description: " << meta_dsc << endl;
 		   retriever.got_meta_dsc((char*)meta_dsc);
 


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
htdig-general mailing list <htdig-general@lists.sourceforge.net>
To unsubscribe, send a message to <htdig-general-request@lists.sourceforge.net> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

