From 6d6f25b75c1557f2b92e51fe589aadc48a1fdb68 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 18 Feb 2006 16:19:25 +0000 Subject: replace unsgined int with string::size_type where comparisons to string::npos take place. --- src/HttpConnection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/HttpConnection.cc') diff --git a/src/HttpConnection.cc b/src/HttpConnection.cc index 2ee040a1..b22d9126 100644 --- a/src/HttpConnection.cc +++ b/src/HttpConnection.cc @@ -130,7 +130,7 @@ int HttpConnection::receiveResponse(HttpHeader& headers) { } // OK, i got all headers. logger->info(MSG_RECEIVE_RESPONSE, cuid, header.c_str()); - unsigned int p, np; + string::size_type p, np; p = np = 0; np = header.find("\r\n", p); if(np == string::npos) { -- cgit