Skip to content

Commit edf2c75

Browse files
authored
Update decodequery.c
1 parent 9073dd7 commit edf2c75

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/decodequery.c

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
#include <assert.h>
1515
#include "../source/decodequery.h"
1616

17+
char *execute(const char *input) {
18+
char *temp=malloc(sizeof(char)*200);
19+
strcpy(temp,input);
20+
decodeUrl(temp,temp);
21+
return temp;
22+
}
1723
int main() {
1824
return 0;
1925
}

0 commit comments

Comments
 (0)