diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-04-05 22:35:25 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-04-05 22:35:35 +0200 |
commit | c43b487246fdfd2ddc5c794763b18255ac6a318e (patch) | |
tree | c5b2b5ef837e9e796842155a6f7943745c61d135 /tests/blogc-runserver/check_httpd_utils.c | |
parent | 0a7f6a2659b363e1d68202b9fd863b57f7420f4f (diff) | |
download | blogc-c43b487246fdfd2ddc5c794763b18255ac6a318e.tar.gz blogc-c43b487246fdfd2ddc5c794763b18255ac6a318e.tar.bz2 blogc-c43b487246fdfd2ddc5c794763b18255ac6a318e.zip |
*: use squareball
yeah, changed my mind again :)
Diffstat (limited to 'tests/blogc-runserver/check_httpd_utils.c')
-rw-r--r-- | tests/blogc-runserver/check_httpd_utils.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/blogc-runserver/check_httpd_utils.c b/tests/blogc-runserver/check_httpd_utils.c index e0fabe3..c3d4844 100644 --- a/tests/blogc-runserver/check_httpd_utils.c +++ b/tests/blogc-runserver/check_httpd_utils.c @@ -12,7 +12,8 @@ #include <cmocka.h> #include <stdlib.h> #include <string.h> -#include "../../src/common/utils.h" +#include <squareball.h> + #include "../../src/blogc-runserver/httpd-utils.h" @@ -89,7 +90,7 @@ static void test_urldecode(void **state) { for (size_t i = 0; i < 128; i++) { - char *t = bc_strdup_printf("%%%02x", i); + char *t = sb_strdup_printf("%%%02x", i); char *r = br_urldecode(t); assert_int_equal(r[0], i); assert_int_equal(r[1], 0); |