1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 19:14:46 +02:00

+- Some more VFS/PHTML fixes, it actually works now, thanks to butter

This commit is contained in:
stskeeps
2001-09-06 16:24:07 +00:00
parent 09c6afc43e
commit 4ece596b39
5 changed files with 5 additions and 5 deletions
+1
View File
@@ -839,3 +839,4 @@ seen. gmtime warning still there
- Moved /svso and /svsnick to modules
- Updated the win32 makefile
- modulize documentation, some web server fixes, preparation for uabr
- Some more VFS/PHTML fixes, it actually works now, thanks to butter
+1 -1
View File
@@ -117,7 +117,7 @@ $ STATUSLINE
$ SECTION
</span></i></div>
<center><table border="0" cellpadding="20" cellspacing="0" width="470" height="250" borderColorDark="black" borderColorLight="black"><tr><td valign="top" borderColorDark="#ffffff" borderColorLight="#ffffff">
$ DATA
$ DATA
</td></tr></table></center>
</div>
</body>
+3 -1
View File
@@ -386,7 +386,9 @@ void sockprintf(HTTPd_Request *r, char *format, ...)
vsprintf(r->inbuf, format, ap);
strcat(r->inbuf, "\r\n");
va_end(ap);
send(r->fd, r->inbuf, strlen(r->inbuf), 0);
set_blocking(r->fd, NULL);
send(r->fd, r->inbuf, strlen(r->inbuf), 0),
set_non_blocking(r->fd, NULL);
}
-1
View File
@@ -161,7 +161,6 @@ DLLFUNC int h_u_phtml(HTTPd_Request *r)
if (!strcmp(s, "DATA"))
{
time_t tmpnow;
sockprintf(r, "%i<br>", section);
if (section == SECTION_STATS)
{
tmpnow = TStime() - me.since;
-2
View File
@@ -155,8 +155,6 @@ DLLFUNC int h_u_vfs(HTTPd_Request *r)
j = send(r->fd, &p->cache[i], p->cachesize - i, 0);
if (j == -1)
{
ircd_log(LOG_ERROR, "send() error: %s",
strerror(ERRNO));
set_non_blocking(r->fd, NULL);
return 1;
}