Hi Willy,

Please check the atthachments for two minor patches about typo and code
style fix.

-- 
Best Regards,
Godbach
From 3013eada648ee4134c27e0a38d75e4cc4e5f97d9 Mon Sep 17 00:00:00 2001
From: Godbach <[email protected]>
Date: Mon, 21 Apr 2014 21:42:41 +0800
Subject: [PATCH 1/2] DOC: fix typo

"a intermediate CA" => "an intermediate CA"

Signed-off-by: Godbach <[email protected]>
---
 doc/configuration.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/configuration.txt b/doc/configuration.txt
index 5ffcb4f..6d6f45e 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -7925,7 +7925,7 @@ crt <cert>
 
   Some CAs (such as Godaddy) offer a drop down list of server types that do not
   include HAProxy when obtaining a certificate. If this happens be sure to
-  choose a webserver that the CA believes requires a intermediate CA (for
+  choose a webserver that the CA believes requires an intermediate CA (for
   Godaddy, selection Apache Tomcat will get the correct bundle, but many
   others, e.g. nginx, result in a wrong bundle that will not work for some
   clients).
-- 
1.7.7

From 0084fbcbae0657b1f2f2974778f3694b5c45ba39 Mon Sep 17 00:00:00 2001
From: Godbach <[email protected]>
Date: Mon, 21 Apr 2014 21:52:23 +0800
Subject: [PATCH 2/2] CLEANUP: code style: use tabs to indent codes instead of
 spaces

Signed-off-by: Godbach <[email protected]>
---
 src/cfgparse.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cfgparse.c b/src/cfgparse.c
index 124ad24..d4893a1 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -2998,10 +2998,10 @@ int cfg_parse_listen(const char *file, int linenum, 
char **args, int kwm)
                        else if (strcmp(args[myidx], "peers") == 0) {
                                myidx++;
                                if (!*(args[myidx])) {
-                                       Alert("parsing [%s:%d] : stick-table: 
missing argument after '%s'.\n",
-                                             file, linenum, args[myidx-1]);
-                                       err_code |= ERR_ALERT | ERR_FATAL;
-                                       goto out;
+                                       Alert("parsing [%s:%d] : stick-table: 
missing argument after '%s'.\n",
+                                             file, linenum, args[myidx-1]);
+                                       err_code |= ERR_ALERT | ERR_FATAL;
+                                       goto out;
                                }
                                curproxy->table.peers.name = 
strdup(args[myidx++]);
                        }
-- 
1.7.7

Reply via email to