diff --git a/dsl_details.cc b/dsl_details.cc index 1f434181..a4304da2 100644 --- a/dsl_details.cc +++ b/dsl_details.cc @@ -445,7 +445,9 @@ ArticleDom::ArticleDom( wstring const & str ): stack.pop_back(); if ( stack.size() ) + { FDPRINTF( stderr, "Warning: %u tags were unclosed.\n", (unsigned) stack.size() ); + } } void ArticleDom::closeTag( wstring const & name, diff --git a/mediawiki.cc b/mediawiki.cc index 2bb1b0d8..c563826f 100644 --- a/mediawiki.cc +++ b/mediawiki.cc @@ -151,7 +151,9 @@ void MediaWikiWordSearchRequest::cancel() finish(); } else + { DPRINTF("not long enough\n" ); + } } void MediaWikiWordSearchRequest::downloadFinished() diff --git a/xdxf.cc b/xdxf.cc index f92ec82f..4cd1b23e 100644 --- a/xdxf.cc +++ b/xdxf.cc @@ -1102,7 +1102,9 @@ vector< sptr< Dictionary::Class > > makeDictionaries( chunks.addToBlock( n.data(), n.size() ); } else + { DPRINTF( "Warning: duplicate full_name in %s\n", dictFiles[ 0 ].c_str() ); + } } else if ( stream.name() == "description" ) @@ -1121,7 +1123,9 @@ vector< sptr< Dictionary::Class > > makeDictionaries( chunks.addToBlock( n.data(), n.size() ); } else + { DPRINTF( "Warning: duplicate description in %s\n", dictFiles[ 0 ].c_str() ); + } } else if ( stream.name() == "abbreviations" )