Commit 9a50026b19d95b16a2e0c33560180f157ad86dd3

Vicent Marti 2012-11-12T15:38:28

clar-helpers: Oops, grab pointer

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/clar_helpers.c b/tests-clar/clar_helpers.c
index 178ae68..3d09bd4 100644
--- a/tests-clar/clar_helpers.c
+++ b/tests-clar/clar_helpers.c
@@ -249,7 +249,7 @@ const char* cl_git_path_url(const char *path)
 	 * *nix: file:///usr/home/...
 	 * Windows: file:///C:/Users/...
 	 */
-	cl_git_pass(git_buf_putc(url_buf, '/'));
+	cl_git_pass(git_buf_putc(&url_buf, '/'));
 #endif
 
 	in_buf = git_buf_cstr(&path_buf);