diff options
Diffstat (limited to 'src/streams/socket.c')
| -rw-r--r-- | src/streams/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/streams/socket.c b/src/streams/socket.c index 732b45940..998e2fe87 100644 --- a/src/streams/socket.c +++ b/src/streams/socket.c @@ -38,7 +38,7 @@ static void net_set_error(const char *str) giterr_set(GITERR_NET, "%s: %s", str, win32_error); git__free(win32_error); } else { - giterr_set(GITERR_NET, str); + giterr_set(GITERR_NET, "%s", str); } } #else |
