summaryrefslogtreecommitdiff
path: root/common/compat.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-08-09 18:35:56 +0000
committerStef Walter <stef@memberwebs.com>2004-08-09 18:35:56 +0000
commit670eba73c474230e31d688e9568fcd540b4e3b39 (patch)
tree624502f0713a9c6f3b0520416134b405f150f356 /common/compat.c
parentb0e50bbeb12e6247dd52dfd9e44c62f558c8a3a0 (diff)
- added request parameter to ha_message...
- combined ha_request and ha_response
Diffstat (limited to 'common/compat.c')
-rw-r--r--common/compat.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/common/compat.c b/common/compat.c
index 5618ee5..daddbd2 100644
--- a/common/compat.c
+++ b/common/compat.c
@@ -19,25 +19,25 @@ void* reallocf(void* ptr, size_t size)
#ifndef HAVE_STRLWR
char* strlwr(char* s)
{
- char* t = s;
- while(*t)
- {
- *t = tolower(*t);
- t++;
- }
- return s;
+ char* t = s;
+ while(*t)
+ {
+ *t = tolower(*t);
+ t++;
+ }
+ return s;
}
#endif
#ifndef HAVE_STRUPR
char* strupr(char* s)
{
- char* t = s;
- while(*t)
- {
- *t = toupper(*t);
- t++;
- }
- return s;
+ char* t = s;
+ while(*t)
+ {
+ *t = toupper(*t);
+ t++;
+ }
+ return s;
}
#endif