From: des Date: Fri, 25 May 2007 09:10:01 +0000 (+0000) Subject: s/illegal/invalid/g X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=784f016d6c427f7ed221868521efcd236d148b9a;p=varnish s/illegal/invalid/g git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1471 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvarnish/argv.c b/varnish-cache/lib/libvarnish/argv.c index f8110d0a..c5841ef5 100644 --- a/varnish-cache/lib/libvarnish/argv.c +++ b/varnish-cache/lib/libvarnish/argv.c @@ -157,7 +157,7 @@ ParseArgv(const char *s, int comment) if (*s == '\\') { i = BackSlash(s, NULL); if (i == 0) { - argv[0] = (void*)(uintptr_t)"Illegal backslash sequence"; + argv[0] = (void*)(uintptr_t)"Invalid backslash sequence"; return (argv); } s += i; diff --git a/varnish-cache/lib/libvcl/vcc_acl.c b/varnish-cache/lib/libvcl/vcc_acl.c index 880cf3dd..238c7643 100644 --- a/varnish-cache/lib/libvcl/vcc_acl.c +++ b/varnish-cache/lib/libvcl/vcc_acl.c @@ -136,7 +136,7 @@ vcc_Cond_Ip(struct var *vp, struct tokenlist *tl) free(acln); break; default: - vsb_printf(tl->sb, "Illegal condition "); + vsb_printf(tl->sb, "Invalid condition "); vcc_ErrToken(tl, tl->t); vsb_printf(tl->sb, " on IP number variable\n"); vsb_printf(tl->sb, " only '==', '!=' and '~' are legal\n"); diff --git a/varnish-cache/lib/libvcl/vcc_action.c b/varnish-cache/lib/libvcl/vcc_action.c index 0ef6f01b..2435b1a0 100644 --- a/varnish-cache/lib/libvcl/vcc_action.c +++ b/varnish-cache/lib/libvcl/vcc_action.c @@ -178,7 +178,7 @@ parse_set(struct tokenlist *tl) } break; default: - vsb_printf(tl->sb, "Illegal assignment operator.\n"); + vsb_printf(tl->sb, "Invalid assignment operator.\n"); vcc_ErrWhere(tl, at); return; } @@ -197,7 +197,7 @@ parse_set(struct tokenlist *tl) u & 0xff); break; } - vsb_printf(tl->sb, "Illegal assignment operator "); + vsb_printf(tl->sb, "Invalid assignment operator "); vcc_ErrToken(tl, tl->t); vsb_printf(tl->sb, " only '=' is legal for IP numbers\n"); @@ -213,7 +213,7 @@ parse_set(struct tokenlist *tl) Fb(tl, 0, ");\n"); break; } - vsb_printf(tl->sb, "Illegal assignment operator "); + vsb_printf(tl->sb, "Invalid assignment operator "); vcc_ErrToken(tl, tl->t); vsb_printf(tl->sb, " only '=' is legal for backend\n"); diff --git a/varnish-cache/lib/libvcl/vcc_parse.c b/varnish-cache/lib/libvcl/vcc_parse.c index bb0a01f9..372235c3 100644 --- a/varnish-cache/lib/libvcl/vcc_parse.c +++ b/varnish-cache/lib/libvcl/vcc_parse.c @@ -306,7 +306,7 @@ Cond_Int(const struct var *vp, struct tokenlist *tl) Fb(tl, 0, "\n"); break; default: - vsb_printf(tl->sb, "Illegal condition "); + vsb_printf(tl->sb, "Invalid condition "); vcc_ErrToken(tl, tl->t); vsb_printf(tl->sb, " on integer variable\n"); vsb_printf(tl->sb, diff --git a/varnish-cache/lib/libvcl/vcc_token.c b/varnish-cache/lib/libvcl/vcc_token.c index 0f2df38d..a24791a5 100644 --- a/varnish-cache/lib/libvcl/vcc_token.c +++ b/varnish-cache/lib/libvcl/vcc_token.c @@ -227,7 +227,7 @@ vcc_decstr(struct tokenlist *tl) if (!isxdigit(p[1]) || !isxdigit(p[2])) { vcc_AddToken(tl, CSTR, p, p + 3); vsb_printf(tl->sb, - "Illegal hex char in %%xx escape\n"); + "Invalid hex char in %%xx escape\n"); vcc_ErrWhere(tl, tl->t); return(1); } diff --git a/varnish-cache/lib/libvcl/vcc_xref.c b/varnish-cache/lib/libvcl/vcc_xref.c index 9b372782..bf763ea4 100644 --- a/varnish-cache/lib/libvcl/vcc_xref.c +++ b/varnish-cache/lib/libvcl/vcc_xref.c @@ -241,7 +241,7 @@ vcc_CheckActionRecurse(struct tokenlist *tl, struct proc *p, unsigned returns) /*lint -e525 */ #define VCL_RET_MAC(a, b, c, d) \ if (u & VCL_RET_##b) { \ - vsb_printf(tl->sb, "Illegal return \"%s\"\n", #a); \ + vsb_printf(tl->sb, "Invalid return \"%s\"\n", #a); \ vcc_ErrWhere(tl, p->return_tok[d]); \ } /*lint -e525 */