aboutsummaryrefslogtreecommitdiffstats
path: root/bundle-uri.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-06-18 13:53:35 -0700
committerJunio C Hamano <gitster@pobox.com>2025-06-18 13:53:35 -0700
commita6cdbc8f8a1dfc58deb63eaf2772579d1d411a73 (patch)
tree4a0f610813a333e6ac865d0d0ea54cf8750bfa4a /bundle-uri.c
parentMerge branch 'bs/solaris-10-and-11' (diff)
parentbundle-uri: send debug output to given FILE * stream (diff)
downloadgit-a6cdbc8f8a1dfc58deb63eaf2772579d1d411a73.tar.gz
git-a6cdbc8f8a1dfc58deb63eaf2772579d1d411a73.zip
Merge branch 'jm/bundle-uri-debug-output-to-fp'
Code clean-up. * jm/bundle-uri-debug-output-to-fp: bundle-uri: send debug output to given FILE * stream
Diffstat (limited to 'bundle-uri.c')
-rw-r--r--bundle-uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle-uri.c b/bundle-uri.c
index 9accf157b4..c9d65aa0ce 100644
--- a/bundle-uri.c
+++ b/bundle-uri.c
@@ -122,7 +122,7 @@ void print_bundle_list(FILE *fp, struct bundle_list *list)
int i;
for (i = 0; i < BUNDLE_HEURISTIC__COUNT; i++) {
if (heuristics[i].heuristic == list->heuristic) {
- printf("\theuristic = %s\n",
+ fprintf(fp, "\theuristic = %s\n",
heuristics[list->heuristic].name);
break;
}