]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1593] a couple of style fixes
authorJINMEI Tatuya <jinmei@isc.org>
Thu, 16 Feb 2012 18:40:10 +0000 (10:40 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 16 Feb 2012 18:40:10 +0000 (10:40 -0800)
src/bin/sockcreator/sockcreator.cc

index 68d77fb2fa14506ee32b281121604c9849af7ede..00e0e7d9fce63f125fd2d6828f93645d0afe1bde 100644 (file)
@@ -60,7 +60,8 @@ protocolError(const int fd, const char reason = 'I') {
 
 // Return appropriate socket type constant for the socket type requested.
 // The output_fd argument is required to report a protocol error.
-int getSocketType(const char type_code, const int output_fd) {
+int
+getSocketType(const char type_code, const int output_fd) {
     int socket_type = 0;
     switch (type_code) {
         case 'T':
@@ -79,7 +80,8 @@ int getSocketType(const char type_code, const int output_fd) {
 
 // Convert return status from getSock() to a character to be sent back to
 // the caller.
-char getErrorCode(const int status) {
+char
+getErrorCode(const int status) {
     char error_code = ' ';
     switch (status) {
         case -1: