--- parser3/src/main/pa_common.C 2003/01/27 17:17:06 1.143.2.6 +++ parser3/src/main/pa_common.C 2003/01/28 10:23:31 1.143.2.7 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_COMMON_C="$Date: 2003/01/27 17:17:06 $"; +static const char* IDENT_COMMON_C="$Date: 2003/01/28 10:23:31 $"; #include "pa_common.h" #include "pa_exception.h" @@ -259,7 +259,7 @@ struct Http_pass_header_info { static void http_pass_header(HashStringValue::key_type key, HashStringValue::value_type value, Http_pass_header_info *info) { *(info->request)<<*key<<": " - << attributed_meaning_to_string(value, String::UL_HTTP_HEADER, false) + << *attributed_meaning_to_string(value, String::UL_HTTP_HEADER, false) <<"\n"; if(*key->change_case(*info->pool, *info->charset, String::CC_UPPER)=="USER-AGENT") @@ -766,7 +766,7 @@ const char *format(Pool& pool, double va else size=snprintf(local_buf, sizeof(local_buf), "%d", (int)value); - return pool.malloc(local_buf, size+1); + return pool.copy(local_buf, size+1); } size_t stdout_write(const void *buf, size_t size) {