- Added Italian error pages by Alessio Bragadini.
+ - Added Estonian error pages by Toomas Soome.
- Fixed asnAclInitialize calling to prevent coredump.
- Fixed FTP directory parsing again.
- Made FTP directory listing "Generated" tagline like
if (syntax & RE_NO_BK_PARENS)
goto normal_backslash;
- if (COMPILE_STACK_EMPTY)
+ if (COMPILE_STACK_EMPTY) {
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
goto normal_backslash;
else
return REG_ERPAREN;
+ }
handle_close:
if (fixup_alt_jump) { /* Push a dummy failure point at the end of the
STORE_JUMP(jump_past_alt, fixup_alt_jump, b - 1);
}
/* See similar code for backslashed left paren above. */
- if (COMPILE_STACK_EMPTY)
+ if (COMPILE_STACK_EMPTY) {
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
goto normal_char;
else
return REG_ERPAREN;
+ }
/* Since we just checked for an empty stack above, this
* ``can't happen''. */
/*
- * $Id: HttpHeaderTools.cc,v 1.9 1998/04/24 07:09:28 wessels Exp $
+ * $Id: HttpHeaderTools.cc,v 1.10 1998/04/27 19:16:05 wessels Exp $
*
* DEBUG: section 66 HTTP Header Tools
* AUTHOR: Alex Rousskov
{
size_t len;
assert(str && item && pos);
- if (*pos)
+ if (*pos) {
if (!**pos) /* end of string */
return 0;
else
(*pos)++;
- else
+ } else {
*pos = str;
+ }
/* skip leading ws (ltrim) */
*pos += xcountws(*pos);
/*
- * $Id: HttpReply.cc,v 1.15 1998/04/06 22:32:09 wessels Exp $
+ * $Id: HttpReply.cc,v 1.16 1998/04/27 19:16:06 wessels Exp $
*
* DEBUG: section 58 HTTP Reply (Response)
* AUTHOR: Alex Rousskov
rep->pstate++;
}
if (rep->pstate == psReadyToParseHeaders) {
- if (!httpReplyIsolateHeaders(&parse_start, &blk_start, &blk_end))
+ if (!httpReplyIsolateHeaders(&parse_start, &blk_start, &blk_end)) {
if (atEnd)
blk_start = parse_start, blk_end = blk_start + strlen(blk_start);
else
return 0;
+ }
if (!httpHeaderParse(&rep->header, blk_start, blk_end))
return httpReplyParseError(rep);
/*
- * $Id: debug.cc,v 1.64 1998/03/06 23:22:25 wessels Exp $
+ * $Id: debug.cc,v 1.65 1998/04/27 19:16:08 wessels Exp $
*
* DEBUG: section 0 Debug Routines
* AUTHOR: Harvest Derived
*/
static int Ctx_Warn_Level = 32;
/* all descriptions has been printed up to this level */
-static Ctx_Reported_Level = -1;
+static int Ctx_Reported_Level = -1;
/* descriptions are still valid or active up to this level */
-static Ctx_Valid_Level = -1;
+static int Ctx_Valid_Level = -1;
/* current level, the number of nested ctx_enter() calls */
-static Ctx_Current_Level = -1;
+static int Ctx_Current_Level = -1;
/* saved descriptions (stack) */
static const char *Ctx_Descrs[CTX_MAX_LEVEL + 1];
/* "safe" get secription */
/*
- * $Id: peer_digest.cc,v 1.19 1998/04/24 07:09:40 wessels Exp $
+ * $Id: peer_digest.cc,v 1.20 1998/04/27 19:16:10 wessels Exp $
*
* DEBUG: section 72 Peer Digest Routines
* AUTHOR: Alex Rousskov
}
/* start request if needed */
if (do_request) {
- static nest_level = 0;
+ static int nest_level = 0;
nest_level++;
assert(nest_level == 1);
debug(72, 2) ("peerDigestValidate: %s requesting; old entry expires: %s\n",
/*
- * $Id: snmp_core.cc,v 1.3 1998/04/08 17:22:13 wessels Exp $
+ * $Id: snmp_core.cc,v 1.4 1998/04/27 19:16:11 wessels Exp $
*
* DEBUG: section 49 SNMP support
* AUTHOR: Kostas Anagnostakis
void *users, *communities;
static struct sockaddr_in local_snmpd;
-static snmp_init_config = 0;
+static int snmp_init_config = 0;
struct snmp_session *Session;
struct snmp_pdu *snmpAgentResponse(struct snmp_pdu *PDU);
/*
- * $Id: store_rebuild.cc,v 1.34 1998/04/22 16:24:16 rousskov Exp $
+ * $Id: store_rebuild.cc,v 1.35 1998/04/27 19:16:12 wessels Exp $
*
* DEBUG: section 20 Store Rebuild Routines
* AUTHOR: Duane Wessels
typedef struct _rebuild_dir rebuild_dir;
-typedef RBHD(rebuild_dir * d);
+typedef int RBHD(rebuild_dir * d);
struct _rebuild_dir {
int dirn;