projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added basic ssl support to ircu
[ircu2.10.12-pk.git]
/
ircd
/
s_conf.c
diff --git
a/ircd/s_conf.c
b/ircd/s_conf.c
index 96f2b99efed09ce18333be6e4218e5e1bcb1b2cd..7db9ff2e4722e68136e3532d6cc7cc5446b475df 100644
(file)
--- a/
ircd/s_conf.c
+++ b/
ircd/s_conf.c
@@
-94,7
+94,6
@@
static void killcomment(struct Client* sptr, const char* filename)
FBFILE* file = 0;
char line[80];
struct stat sb;
FBFILE* file = 0;
char line[80];
struct stat sb;
- struct tm* tm;
if (NULL == (file = fbopen(filename, "r"))) {
send_reply(sptr, ERR_NOMOTD);
if (NULL == (file = fbopen(filename, "r"))) {
send_reply(sptr, ERR_NOMOTD);
@@
-103,7
+102,6
@@
static void killcomment(struct Client* sptr, const char* filename)
return;
}
fbstat(&sb, file);
return;
}
fbstat(&sb, file);
- tm = localtime((time_t*) &sb.st_mtime); /* NetBSD needs cast */
while (fbgets(line, sizeof(line) - 1, file)) {
char* end = line + strlen(line);
while (end > line) {
while (fbgets(line, sizeof(line) - 1, file)) {
char* end = line + strlen(line);
while (end > line) {