Browse Source

[1986] editorial: spacing, typo, long line.

JINMEI Tatuya 12 years ago
parent
commit
b6838349c3
2 changed files with 7 additions and 6 deletions
  1. 4 5
      src/bin/auth/tests/auth_srv_unittest.cc
  2. 3 1
      src/bin/ddns/ddns.py.in

+ 4 - 5
src/bin/auth/tests/auth_srv_unittest.cc

@@ -1646,9 +1646,8 @@ TEST_F(AuthSrvTest, DDNSForwardClose) {
 namespace {
     // Send a basic command without arguments, and check the response has
     // result code 0
-    void sendSimpleCommand(AuthSrv& server, const std::string&command) {
-        ConstElementPtr response = execAuthServerCommand(server,
-                                                         command,
+    void sendSimpleCommand(AuthSrv& server, const std::string& command) {
+        ConstElementPtr response = execAuthServerCommand(server, command,
                                                          ConstElementPtr());
         int command_result = -1;
         isc::config::parseAnswer(command_result, response);
@@ -1657,9 +1656,9 @@ namespace {
 } // end anonymous namespace
 
 TEST_F(AuthSrvTest, DDNSForwardCreateDestroy) {
-    // Test that AuthSrv returns NOTIMPL before ddns forwarder is created,
+    // Test that AuthSrv returns NOTIMP before ddns forwarder is created,
     // that is is connected when the start_ddns_forwarder command is sent,
-    // and that is it is no longer connected and returns NOTIMPL after
+    // and that is it is no longer connected and returns NOTIMP after
     // the stop_ddns_forwarding command is sent.
     scoped_ptr<AuthSrv> tmp_server(new AuthSrv(true, xfrout, ddns_forwarder));
 

+ 3 - 1
src/bin/ddns/ddns.py.in

@@ -554,7 +554,9 @@ class DDNSServer:
             logger.error(DDNS_START_FORWARDER_FAIL, ex)
 
     def __notify_stop_forwarder(self):
-        '''Notify auth that DDNS Update messages should no longer be forwarded'''
+        '''Notify auth that DDNS Update messages should no longer be forwarded.
+
+        '''
         try:
             seq = self._cc._session.group_sendmsg(create_command(
                     "stop_ddns_forwarder"), AUTH_MODULE_NAME)