summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorOlli Savia <ops@iki.fi>2004-10-27 21:30:47 +0000
committerOlli Savia <ops@iki.fi>2004-10-27 21:30:47 +0000
commit29d8da31675c1f7f565b1e02319ece7cedfe1d65 (patch)
treeb6b987304691ee70580b98eee6e0bedeb2d1a8a9 /apps
parent4c8a6efdc2fb418184d035aa4090142110b6e923 (diff)
downloadATCD-29d8da31675c1f7f565b1e02319ece7cedfe1d65.tar.gz
ChangeLogTag: Thu Oct 28 00:27:57 2004 Olli Savia <ops@iki.fi>
Diffstat (limited to 'apps')
-rw-r--r--apps/JAWS/server/HTTP_Request.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/JAWS/server/HTTP_Request.cpp b/apps/JAWS/server/HTTP_Request.cpp
index 970d9a82126..c2d4b7a3134 100644
--- a/apps/JAWS/server/HTTP_Request.cpp
+++ b/apps/JAWS/server/HTTP_Request.cpp
@@ -138,11 +138,11 @@ HTTP_Request::parse_request_line (char *const request_line)
this->got_request_line_ = 1;
if (this->method (ACE_OS::strtok_r (buf, " \t", &lasts))
- && this->uri (ACE_OS::strtok_r (NULL, " \t", &lasts)))
+ && this->uri (ACE_OS::strtok_r (0, " \t", &lasts)))
{
this->type (this->method ());
- if (this->version (ACE_OS::strtok_r (NULL, " \t", &lasts)) == 0
+ if (this->version (ACE_OS::strtok_r (0, " \t", &lasts)) == 0
&& this->type () != HTTP_Request::GET)
this->status_ = HTTP_Status_Code::STATUS_NOT_IMPLEMENTED;
@@ -170,7 +170,7 @@ HTTP_Request::init (char *const buffer,
datalen_ = 0;
// Set the datalen
- if (data_ != NULL)
+ if (data_ != 0)
datalen_ = buflen;
else
datalen_ = 0;
@@ -506,7 +506,7 @@ HTTP_Request::cgi_in_path (char *uri_string, char *&extra_path_info)
}
extra_path_info = 0;
- cgi_path_next = ACE_OS::strtok_r (NULL, ":", &lasts);
+ cgi_path_next = ACE_OS::strtok_r (0, ":", &lasts);
}
while (cgi_path_next);