]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1924] (minor) Comment tweaks
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 6 Feb 2013 15:10:34 +0000 (16:10 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 6 Feb 2013 15:10:34 +0000 (16:10 +0100)
src/bin/msgq/msgq.py.in

index 03a2403bd69ebce26cb7e5387e6c36471018f7a7..dd1272a8895c549f74532360e53781318448fd36 100755 (executable)
@@ -567,7 +567,7 @@ class MsgQ:
             CC_HEADER_REPLY not in routing:
             # We have no recipients. But the sender insists on a reply
             # (and the message isn't a reply itself). We need to send
-            # an error to satisfy the senders hurger for response, since
+            # an error to satisfy the senders hunger for response, since
             # nobody else will do that.
 
             # The real errors would be positive, 1 most probably. We use
@@ -584,8 +584,8 @@ class MsgQ:
             header[CC_HEADER_FROM] = "msgq" # Dummy lname not assigned to clients
             header[CC_HEADER_TO] = routing[CC_HEADER_FROM]
             # We keep the seq as it is. We don't need to track the message
-            # and provided the sender always uses a new one, it won't know
-            # we're cheating, since we won't send it two same either.
+            # and we will not confuse the sender. The sender would use an unique
+            # id for each message, so we won't return one twice to it.
             errmsg = self.preparemsg(header, payload)
             # Send it back.
             self.send_prepared_msg(sock, errmsg)