summaryrefslogtreecommitdiff
path: root/common/compat.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-04-25 05:50:07 +0000
committerStef Walter <stef@memberwebs.com>2004-04-25 05:50:07 +0000
commit570c17aa3bb6a39030ebefc5618f0c3fa8cf0089 (patch)
tree34fd08eb06f92c4aadec308151ddc8fc80dcab08 /common/compat.c
parent36ab0775e1c5ec4352f36074cea8bfbe49302b80 (diff)
Debugging of simple authentication handler
Diffstat (limited to 'common/compat.c')
-rw-r--r--common/compat.c13
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