gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 01/02: reason_phrase.c: fixed unofficial sp


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/02: reason_phrase.c: fixed unofficial spelling, shift in 3xx reasons, minor fixes
Date: Fri, 24 Feb 2017 19:43:37 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 3ef98c28c6572416484954850f59ba9b13f24f31
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Fri Feb 24 19:55:52 2017 +0300

    reason_phrase.c: fixed unofficial spelling, shift in 3xx reasons, minor 
fixes
---
 src/microhttpd/reason_phrase.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/microhttpd/reason_phrase.c b/src/microhttpd/reason_phrase.c
index 03e741b2..ded65650 100644
--- a/src/microhttpd/reason_phrase.c
+++ b/src/microhttpd/reason_phrase.c
@@ -27,10 +27,10 @@
 #include "microhttpd.h"
 
 #ifndef NULL
-#define NULL (void*)0
+#define NULL ((void*)0)
 #endif
 
-static const char *invalid_hundred[] = {
+static const char *const invalid_hundred[] = {
   NULL
 };
 
@@ -48,13 +48,14 @@ static const char *const two_hundred[] = {
   "No Content",
   "Reset Content",
   "Partial Content",
-  "Multi Status"
+  "Multi-Status",
 };
 
 static const char *const three_hundred[] = {
   "Multiple Choices",
   "Moved Permanently",
   "Moved Temporarily",
+  "Found",
   "See Other",
   "Not Modified",
   "Use Proxy",
@@ -72,7 +73,7 @@ static const char *const four_hundred[] = {
   "Method Not Allowed",
   "Not Acceptable",
   "Proxy Authentication Required",
-  "Request Time-out",
+  "Request Timeout",
   "Conflict",
   "Gone",
   "Length Required",
@@ -123,8 +124,8 @@ static const char *const five_hundred[] = {
   "Not Implemented",
   "Bad Gateway",
   "Service Unavailable",
-  "Gateway Time-out",
-  "HTTP Version not supported",
+  "Gateway Timeout",
+  "HTTP Version Not Supported",
   "Variant Also Negotiates",
   "Insufficient Storage",
   "Unknown",
@@ -135,7 +136,7 @@ static const char *const five_hundred[] = {
 
 struct MHD_Reason_Block
 {
-  unsigned int max;
+  size_t max;
   const char *const*data;
 };
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]