aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_urlglob.c2
-rw-r--r--tests/unit/unit1395.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c
index 6e4cdb07a..36e83c330 100644
--- a/src/tool_urlglob.c
+++ b/src/tool_urlglob.c
@@ -36,7 +36,7 @@ typedef enum {
} GlobCode;
#define GLOBERROR(string, column, code) \
- glob->error = string, glob->pos = column, code;
+ glob->error = string, glob->pos = column, code
void glob_cleanup(URLGlob* glob);
diff --git a/tests/unit/unit1395.c b/tests/unit/unit1395.c
index bc3f36d44..6f9fc8c38 100644
--- a/tests/unit/unit1395.c
+++ b/tests/unit/unit1395.c
@@ -79,6 +79,6 @@ UNITTEST_START
free(out);
}
- return fails;
+ fail_if(fails, "output mismatched");
UNITTEST_STOP