[hackers] [quark] Reorder config.def.h a bit || Laslo Hunhold

From: <git_AT_suckless.org>
Date: Tue, 11 Jul 2017 13:52:49 +0200 (CEST)

commit d7cf0d7f57dbd5650c5cf868eb71613f6969d757
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Tue Jul 11 13:52:41 2017 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Tue Jul 11 13:52:41 2017 +0200

    Reorder config.def.h a bit

diff --git a/config.def.h b/config.def.h
index 963821e..0b800bf 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -2,26 +2,28 @@ static const char *host = "localhost";
 static const char *port = "80";
 static const char *servedir = ".";
 static const char *docindex = "index.html";
-
 static const char *user = "nobody";
 static const char *group = "nogroup";
 
 static int listdirs = 1;
 static int vhosts = 0;
-static const int maxnprocs = 512;
 
+static const int maxnprocs = 512;
 #define HEADER_MAX 4096
 #define FIELD_MAX 200
 
+/* virtual hosts */
 static struct {
         const char *name;
         const char *regex;
         const char *dir;
         regex_t re;
 } vhost[] = {
- { "example.org", "^(www.)example.org$", "/example.org" },
+ /* canonical host host regex directory */
+ { "example.org", "^(www.)example.org$", "/example.org" },
 };
 
+/* mime-types */
 static const struct {
         char *ext;
         char *type;
Received on Tue Jul 11 2017 - 13:52:49 CEST

This archive was generated by hypermail 2.3.0 : Tue Jul 11 2017 - 14:01:17 CEST