summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-12-16 09:13:31 +0100
committerKai Blin <kai@samba.org>2011-12-17 02:46:08 +0100
commita00709eff1c3f9e53fcfbbc93ac498cb182c9ac7 (patch)
tree2d05976c88eb03597f4d062280301dd76a564137
parentb939144071a874f043ca32d4a80044da1d94f2dd (diff)
downloadsamba-a00709eff1c3f9e53fcfbbc93ac498cb182c9ac7.tar.gz
samba-a00709eff1c3f9e53fcfbbc93ac498cb182c9ac7.tar.bz2
samba-a00709eff1c3f9e53fcfbbc93ac498cb182c9ac7.zip
s4 dns: Fix some typos in comments and a whitespace
-rw-r--r--source4/dns_server/dns_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c
index 4aecc87e99..613bf9725c 100644
--- a/source4/dns_server/dns_server.c
+++ b/source4/dns_server/dns_server.c
@@ -238,7 +238,7 @@ static void dns_tcp_call_loop(struct tevent_req *subreq)
tsocket_address_string(dns_conn->conn->remote_address, call)));
/* skip length header */
- call->in.data +=4;
+ call->in.data += 4;
call->in.length -= 4;
/* Call dns */
@@ -417,11 +417,11 @@ static void dns_udp_call_loop(struct tevent_req *subreq)
call->in.data = buf;
call->in.length = len;
- DEBUG(10,("Received krb5 UDP packet of length %lu from %s\n",
+ DEBUG(10,("Received DNS UDP packet of length %lu from %s\n",
(long)call->in.length,
tsocket_address_string(call->src, call)));
- /* Call krb5 */
+ /* Call dns_process */
status = dns_process(sock->dns_socket->dns, call, &call->in, &call->out);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(call);