We want to initialize shorthost before hostname.
authorPierre Habouzit <madcoder@debian.org>
Sun, 10 Jun 2007 13:57:57 +0000 (15:57 +0200)
committerPierre Habouzit <madcoder@debian.org>
Sun, 10 Jun 2007 13:57:57 +0000 (15:57 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib-lua/madmutt.cpkg

index 87c5c26..f134c75 100644 (file)
@@ -202,8 +202,8 @@ static void mod_core_init2(void)
      ** Please be sure to really know what you are doing when changing this variable
      ** to configure a custom domain part of Message-IDs.
      */
      ** Please be sure to really know what you are doing when changing this variable
      ** to configure a custom domain part of Message-IDs.
      */
-    string_t hostname     = madmutt_init_hostname();
     string_t shorthost    = madmutt_init_shorthost();
     string_t shorthost    = madmutt_init_shorthost();
+    string_t hostname     = madmutt_init_hostname();
 
     /*
      ** .pp
 
     /*
      ** .pp