From: Amos Jeffries Date: Sun, 3 Feb 2013 13:46:21 +0000 (-0700) Subject: Fix typos in Ident.cc X-Git-Tag: SQUID_3_3_1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=469a4e8ec66ff0533baaddaea091be4a9e98c45c;p=thirdparty%2Fsquid.git Fix typos in Ident.cc --- diff --git a/src/ident/Ident.cc b/src/ident/Ident.cc index 87634f2056..b826c7dab5 100644 --- a/src/ident/Ident.cc +++ b/src/ident/Ident.cc @@ -150,7 +150,7 @@ Ident::ConnectDone(const Comm::ConnectionPointer &conn, comm_err_t status, int x AsyncCall::Pointer writeCall = commCbCall(5,4, "Ident::WriteFeedback", CommIoCbPtrFun(Ident::WriteFeedback, state)); - Comm::Write(conn, &queryMsg, writeCall); + Comm::Write(conn, &state->queryMsg, writeCall); AsyncCall::Pointer readCall = commCbCall(5,4, "Ident::ReadReply", CommIoCbPtrFun(Ident::ReadReply, state)); comm_read(conn, state->buf, IDENT_BUFSIZE, readCall); @@ -262,7 +262,7 @@ Ident::Start(const Comm::ConnectionPointer &conn, IDCB * callback, void *data) // build our query from the original connection details state->queryMsg.init(); - state->queryMsg.printf("%d, %d\r\n", conn->remote.GetPort(), conn->local.GetPort()); + state->queryMsg.Printf("%d, %d\r\n", conn->remote.GetPort(), conn->local.GetPort()); ClientAdd(state, callback, data); hash_join(ident_hash, &state->hash);