diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-08 14:28:21 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-08 14:28:21 +0200 |
| commit | 65ca81a63e596f7c8bdfccd15a7bcbf6cfb96cd4 (patch) | |
| tree | 82834441434c71a339de4f4023967016469c823d /src/netops.c | |
| parent | 8d89c8e9726bdb257ff3a54182f927d4ed30d439 (diff) | |
| download | libgit2-65ca81a63e596f7c8bdfccd15a7bcbf6cfb96cd4.tar.gz | |
Minor error fixes
Clear the error in pkt when we notice that the remote is starting to
send the packfile.
Fix the format string for Windows networking errors.
Diffstat (limited to 'src/netops.c')
| -rw-r--r-- | src/netops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netops.c b/src/netops.c index 057aff887..4d461a049 100644 --- a/src/netops.c +++ b/src/netops.c @@ -35,7 +35,7 @@ static void net_set_error(const char *str) size = FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, 0, error, 0, (LPSTR)&err_str, 0, 0); - giterr_set(GITERR_NET, "%s: $s", str, err_str); + giterr_set(GITERR_NET, "%s: %s", str, err_str); LocalFree(err_str); } #else |
