summaryrefslogtreecommitdiff
path: root/html.cpp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
commited634bc556af8997b9d2d5bf7334073731936365 (patch)
treeaac5e9767c12f7bf7e98672c125554888fbbe1ac /html.cpp
parent5f4e214740242513c837c8a005ca23779bab1d0c (diff)
tagging ychat-0.2ychat-0.2
Diffstat (limited to 'html.cpp')
-rwxr-xr-x[-rw-r--r--]html.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/html.cpp b/html.cpp
index 2e6b977..ad0de08 100644..100755
--- a/html.cpp
+++ b/html.cpp
@@ -12,25 +12,12 @@ using namespace std;
html::html( )
{
-#ifdef VERBOSE
- pthread_mutex_lock ( &MUTX::get().mut_stdout );
- cout << "html::html()" << endl;
- pthread_mutex_unlock( &MUTX::get().mut_stdout );
-#endif
-
set_name( CONF::get().get_val( "HTMLTEMP" ) );
-
pthread_mutex_init( &mut_map_vals, NULL );
}
html::~html( )
{
-#ifdef VERBOSE
- pthread_mutex_lock ( &MUTX::get().mut_stdout );
- cout << "html::~html()" << endl;
- pthread_mutex_unlock( &MUTX::get().mut_stdout );
-#endif
-
pthread_mutex_destroy( &mut_map_vals );
}
@@ -45,13 +32,6 @@ html::clear_cache( )
string
html::parse( map_string &map_params )
{
-
-#ifdef VERBOSE_
- pthread_mutex_lock ( &MUTX::get().mut_stdout );
- cout << "html::parse( map_string& )" << endl;
- pthread_mutex_unlock( &MUTX::get().mut_stdout );
-#endif
-
string s_file = map_params["request"];
// check if s_file is in the container.
@@ -132,12 +112,6 @@ html::parse( map_string &map_params )
void
html::online_list( user *p_user, map_string &map_params )
{
-#ifdef VERBOSE_
- pthread_mutex_lock ( &MUTX::get().mut_stdout );
- cout << "html::online_list( user*, map_string& )" << endl;
- pthread_mutex_unlock( &MUTX::get().mut_stdout );
-#endif
-
// prepare user_list.
string s_list ( "" );
string s_seperator( "<br>" );