Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
setup: drop repository_format_version global
[gitweb.git]
/
compat
/
hstrerror.c
diff --git
a/compat/hstrerror.c
b/compat/hstrerror.c
index 069c555da47ea168eea937fcc2d788294bf92ef5..b85a2fa9561f48657bc976a063560ddf7e00d449 100644
(file)
--- a/
compat/hstrerror.c
+++ b/
compat/hstrerror.c
@@
-16,6
+16,6
@@
const char *githstrerror(int err)
case TRY_AGAIN:
return "Non-authoritative \"host not found\", or SERVERFAIL";
}
- s
printf(buffer
, "Name resolution error %d", err);
+ s
nprintf(buffer, sizeof(buffer)
, "Name resolution error %d", err);
return buffer;
}