← Commit list

3d2405cfb

Glenn L McGrath
Glenn L McGrath
2003-02-10
SOURCE BUG Duration: 2s

Subject

Fix compile error, last_patch81 by Vladimir N. Oleynik

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): sysdeps/linux/Config.in "fileutils/Config.in" dosyasini kaynak gosteriyor ama bu dosya repoda hic var olmadi (2002-12-05 - 2003-02-15 arasi orijinal yazar hatasi, 3238ea167 ile duzeltildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/httpd.c+2 -1
@@ -882,10 +882,12 @@ static int sendHeaders(HttpResponseNum responseNum)
"Date: %s\r\nConnection: close\r\n",
responseNum, responseString, config->found_mime_type, timeStr);
+#ifdef CONFIG_FEATURE_HTTPD_BASIC_AUTH
if (responseNum == HTTP_UNAUTHORIZED) {
len += sprintf(buf+len, "WWW-Authenticate: Basic realm=\"%s\"\r\n",
config->realm);
}
+#endif
if (config->ContentLength != -1) { /* file */
strftime(timeStr, sizeof(timeStr), RFC1123FMT, gmtime(&config->last_mod));
len += sprintf(buf+len, "Last-Modified: %s\r\n%s %ld\r\n",
@@ -1519,7 +1521,6 @@ FORBIDDEN: /* protect listing /cgi-bin */
if(length < 0) // closed
length = 0;
body[length] = 0; // always null terminate for safety
- urlArgs = body;
}
}