summaryrefslogtreecommitdiff
path: root/src/diff_print.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-12-09 09:44:03 -0800
committerRussell Belfer <rb@github.com>2013-12-11 10:57:50 -0800
commit26c1cb91beccb44425864bd233ed0e35f5801868 (patch)
tree378f665d0adebca36a14a590f2103f2e5cd6c9ac /src/diff_print.c
parentf10d7a368fa4af28b1e6f082349ffa4f62b3c00e (diff)
downloadlibgit2-26c1cb91beccb44425864bd233ed0e35f5801868.tar.gz
One more rename/cleanup for callback err functions
Diffstat (limited to 'src/diff_print.c')
-rw-r--r--src/diff_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff_print.c b/src/diff_print.c
index ff477e4c8..7a70e2b18 100644
--- a/src/diff_print.c
+++ b/src/diff_print.c
@@ -398,7 +398,7 @@ int git_diff_print(
diff, print_file, print_hunk, print_line, &pi);
if (error) /* make sure error message is set */
- giterr_set_callback(error, "git_diff_print");
+ giterr_set_after_callback_function(error, "git_diff_print");
}
git_buf_free(&buf);
@@ -427,7 +427,7 @@ int git_patch_print(
diff_print_patch_line, &pi);
if (error) /* make sure error message is set */
- giterr_set_callback(error, "git_patch_print");
+ giterr_set_after_callback_function(error, "git_patch_print");
}
git_buf_free(&temp);