Wrong table function used.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 6 Apr 2005 04:36:58 +0000 (04:36 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 6 Apr 2005 04:36:58 +0000 (04:36 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1507 cb58f699-b61c-0410-a6fe-9272a202ed29

apache/mod_apache.cpp

index bc0ce10..c202f7c 100644 (file)
@@ -389,7 +389,7 @@ public:
     m_req->content_type = ap_psprintf(m_req->pool, content_type.c_str());
     while (headers.hasNext()) {
         const header_t& h=headers.next();
-        ap_table_setn(m_req->headers_out, h.first.c_str(), h.second.c_str());
+        ap_table_set(m_req->headers_out, h.first.c_str(), h.second.c_str());
     }
     ap_send_http_header(m_req);
     ap_rprintf(m_req, msg.c_str());