diff options
author | Stef Walter <stef@memberwebs.com> | 2004-04-25 05:50:07 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-04-25 05:50:07 +0000 |
commit | 570c17aa3bb6a39030ebefc5618f0c3fa8cf0089 (patch) | |
tree | 34fd08eb06f92c4aadec308151ddc8fc80dcab08 /common/compat.c | |
parent | 36ab0775e1c5ec4352f36074cea8bfbe49302b80 (diff) |
Debugging of simple authentication handler
Diffstat (limited to 'common/compat.c')
-rw-r--r-- | common/compat.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/compat.c b/common/compat.c index 6a4b914..5618ee5 100644 --- a/common/compat.c +++ b/common/compat.c @@ -28,3 +28,16 @@ char* strlwr(char* s) return s; } #endif + +#ifndef HAVE_STRUPR +char* strupr(char* s) +{ + char* t = s; + while(*t) + { + *t = toupper(*t); + t++; + } + return s; +} +#endif |