]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix typos in Ident.cc
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 3 Feb 2013 13:46:21 +0000 (06:46 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 3 Feb 2013 13:46:21 +0000 (06:46 -0700)
src/ident/Ident.cc

index 87634f20567c5791ed6624b3ed70e2cc15dcfbe2..b826c7dab53e321964ea6829ad183790dc194196 100644 (file)
@@ -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);