]> err.no Git - varnish/commitdiff
s/illegal/invalid/g
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 25 May 2007 09:10:01 +0000 (09:10 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 25 May 2007 09:10:01 +0000 (09:10 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1471 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvarnish/argv.c
varnish-cache/lib/libvcl/vcc_acl.c
varnish-cache/lib/libvcl/vcc_action.c
varnish-cache/lib/libvcl/vcc_parse.c
varnish-cache/lib/libvcl/vcc_token.c
varnish-cache/lib/libvcl/vcc_xref.c

index f8110d0a54b3e17516a490874ab153cadd61621d..c5841ef5fd97d0a9c28efc3a0243571ad231bfba 100644 (file)
@@ -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;
index 880cf3dd5e4de5653102a4314fa4a7b6bce75f37..238c764372a055798019c976738eef489430fce0 100644 (file)
@@ -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");
index 0ef6f01bdfa3bebdc6f1e9fcd93c77778b930861..2435b1a0049ab21c2299901b34d14c04b129caad 100644 (file)
@@ -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");
index bb0a01f942529cbabfdb365579b0d577d7422574..372235c379295281154d1237081bc7422f2c4baa 100644 (file)
@@ -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,
index 0f2df38d47bf9a5ac5f273a76bc40714ec29c63d..a24791a5b080e18a4a3f17fab904bddc6931df3d 100644 (file)
@@ -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);
                }
index 9b37278278e88f4837177f7103399140b6474f04..bf763ea41030c9cd394a1da7be1185ffccb2d55c 100644 (file)
@@ -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 */