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/pkt.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/pkt.c')
-rw-r--r-- | src/pkt.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -217,6 +217,7 @@ int git_pkt_parse_line( * server is trying to send us the packfile already. */ if (bufflen >= 4 && !git__prefixcmp(line, "PACK")) { + giterr_clear(); *out = line; return pack_pkt(head); } |