Added a debugging message about unknown variables, for people
authoraland <aland>
Tue, 6 Aug 2002 14:58:56 +0000 (14:58 +0000)
committeraland <aland>
Tue, 6 Aug 2002 14:58:56 +0000 (14:58 +0000)
who can't be bothered reading the documentation.

src/main/xlat.c

index e8717a8..c54113c 100644 (file)
@@ -510,6 +510,7 @@ int radius_xlat(char *out, int outlen, const char *fmt,
                                }
                                break;
                        default:
+                               DEBUG2("WARNING: Unknown variable '%%%c': See 'doc/variables.txt'", *p);
                                *q++ = '%';
                                *q++ = *p;
                                break;