aboutsummaryrefslogtreecommitdiff
path: root/src/inetd.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-01-05 16:17:38 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-01-05 16:20:24 +0200
commit6ac0f1e8e19922c63a1542740a7c88116989bb7c (patch)
tree6124aaa6dbd729deab5de7550f6603056e39b4b3 /src/inetd.c
parentf937fa90807400e87aa64cd03f2c8470093129d7 (diff)
downloadpies-6ac0f1e8e19922c63a1542740a7c88116989bb7c.tar.gz
pies-6ac0f1e8e19922c63a1542740a7c88116989bb7c.tar.bz2
Minor changes.
* src/ctl.c (ctlio_authenticate): Configurable realm name. (ctlio_do_command): Check the Accept header. * src/inetd.c (inetd_conf_file): Change line_no type. * src/pies.c (control_keywords): New keyword: realm. * src/pies.h (control) <realm>: New member.
Diffstat (limited to 'src/inetd.c')
-rw-r--r--src/inetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inetd.c b/src/inetd.c
index 858178d..4a55ad5 100644
--- a/src/inetd.c
+++ b/src/inetd.c
@@ -1,5 +1,5 @@
/* This file is part of GNU Pies.
- Copyright (C) 2009, 2010, 2011, 2013 Sergey Poznyakoff
+ Copyright (C) 2009-2011, 2013, 2016 Sergey Poznyakoff
GNU Pies is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -81,7 +81,7 @@ inetd_conf_file (const char *file)
FILE *fp;
size_t size = 0;
char *buf = NULL;
- size_t line_no = 0;
+ unsigned long line_no = 0;
struct wordsplit ws;
char *dfl_address = NULL;
int wsflags;

Return to:

Send suggestions and report system problems to the System administrator.