commit 91c4f3bb53ad2a44f751b3a596899974eeb650e5
parent 7f51497ec9de558a7bec37954c1a69421736867e
Author: Frederic Cambus <fred@statdns.com>
Date: Fri, 16 Mar 2018 09:36:56 +0100
Add Antarctica to the list of continents
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/config.c b/src/config.c
@@ -5,7 +5,7 @@
/* https://www.logswan.org */
/* */
/* Created: 2015-05-31 */
-/* Last Updated: 2018-01-21 */
+/* Last Updated: 2018-03-16 */
/* */
/* Logswan is released under the BSD 2-Clause license. */
/* See LICENSE file for details. */
@@ -14,6 +14,7 @@
char *continentsId[] = {
"AF",
+ "AN",
"AS",
"EU",
"NA",
@@ -23,6 +24,7 @@ char *continentsId[] = {
char *continentsNames[] = {
"Africa",
+ "Antarctica",
"Asia",
"Europe",
"North America",
diff --git a/src/config.h b/src/config.h
@@ -5,7 +5,7 @@
/* https://www.logswan.org */
/* */
/* Created: 2015-05-31 */
-/* Last Updated: 2018-01-21 */
+/* Last Updated: 2018-03-16 */
/* */
/* Logswan is released under the BSD 2-Clause license. */
/* See LICENSE file for details. */
@@ -22,8 +22,8 @@ enum {
LINE_LENGTH_MAX = 65536,
STATUS_CODE_MAX = 512,
- CONTINENTS = 6,
COUNTRIES = 512,
+ CONTINENTS = 7,
METHODS = 9,
PROTOCOLS = 2
};