Use standard bool types.

I'm using `stdbool.h` for the few remaining C files.  That will
have to change, soon.
This commit is contained in:
2025-08-21 13:59:12 -04:00
parent cc657de8fb
commit d1f5756670
35 changed files with 280 additions and 279 deletions

View File

@ -702,7 +702,7 @@ static int File_send_file(ClientInfo *client)
const char *unknown_type = "application/octet-stream";
char buf[LBUF], *d_cmd, *name;
int st, st2, namelen;
bool_t gzipped = FALSE;
bool gzipped = false;
if (client->state == st_start) {
/* Send DPI command */
@ -719,7 +719,7 @@ static int File_send_file(ClientInfo *client)
namelen = strlen(client->filename);
if (namelen > 3 &&
!dStrAsciiCasecmp(client->filename + namelen - 3, ".gz")) {
gzipped = TRUE;
gzipped = true;
namelen -= 3;
}
/* Content-Type info is based on filename extension (with ".gz" removed).