aboutsummaryrefslogtreecommitdiff
path: root/websocksy.c
diff options
context:
space:
mode:
Diffstat (limited to 'websocksy.c')
-rw-r--r--websocksy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/websocksy.c b/websocksy.c
index ca7193b..0e4028f 100644
--- a/websocksy.c
+++ b/websocksy.c
@@ -8,6 +8,15 @@
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
+#include <ctype.h>
+
+char* xstr_lower(char* in){
+ size_t n;
+ for(n = 0; n < strlen(in); n++){
+ in[n] = tolower(in[n]);
+ }
+ return in;
+}
#include "websocksy.h"
#include "network.c"