diff -r 07a3743ce6ac -r 0f1c55d2a90a test/gs/ctest.html
--- a/test/gs/ctest.html Thu Jul 11 19:41:06 2024 +0200
+++ b/test/gs/ctest.html Thu Jul 11 20:05:21 2024 +0200
@@ -135,7 +135,7 @@
82
83 int util_strtoint(char *str, int64_t *value) {
84 char *end;
- 85 int64_t val = strtoll(str, &end, 0);
+ 85 int64_t val = strtoll(str, &end, 0);
86 if(strlen(end) == 0) {
87 *value = val;
88 return 1;
@@ -149,9 +149,9 @@
96 size_t len = strlen(url);
97 int slashcount = 0;
98 int slmax;
- 99 if(len > 7 && !strncasecmp(url, "http://", 7)) {
+ 99 if(len > 7 && !strncasecmp(url, "http://", 7)) {
100 slmax = 3;
-101 } else if(len > 8 && !strncasecmp(url, "https://", 8)) {
+101 } else if(len > 8 && !strncasecmp(url, "https://", 8)) {
102 slmax = 3;
103 } else {
104 slmax = 1;
@@ -265,7 +265,7 @@
212
213 sstr_t p = sstr(path);
214 ssize_t ntk = 0;
-215 sstr_t *tks = sstrsplit(p, S("/"), &ntk);
+215 sstr_t *tks = sstrsplit(p, S("/"), &ntk);
216
217 for(int i=0;i<ntk;i++) {
218 sstr_t node = tks[i];
@@ -315,7 +315,7 @@
262
263 char* util_base64decode(char *in) {
264 int len = 0;
-265 return util_base64decode_len(in, &len);
+265 return util_base64decode_len(in, &len);
266 }
267
268 char* util_base64decode_len(char* in, int *outlen) {
@@ -345,7 +345,7 @@
292 BIO_write(e, in, len);
293 BIO_flush(e);
294
-295 BIO_get_mem_ptr(e, &mem);
+295 BIO_get_mem_ptr(e, &mem);
296 char *out = malloc(mem->length);
297 memcpy(out, mem->data, mem->length -1);
298 out[mem->length - 1] = '\0';