Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pkt-line: drop safe_write function
[gitweb.git]
/
send-pack.c
diff --git
a/send-pack.c
b/send-pack.c
index e91cbe2c957003c98fcefee82f546101cdd13a9f..bde796b1bbb80aca5c3e39c0b0365dcbb43b9c09 100644
(file)
--- a/
send-pack.c
+++ b/
send-pack.c
@@
-280,7
+280,7
@@
int send_pack(struct send_pack_args *args,
send_sideband(out, -1, req_buf.buf, req_buf.len, LARGE_PACKET_MAX);
}
} else {
-
safe_writ
e(out, req_buf.buf, req_buf.len);
+
write_or_di
e(out, req_buf.buf, req_buf.len);
packet_flush(out);
}
strbuf_release(&req_buf);