diff options
author | Jeff King <peff@peff.net> | 2013-02-20 15:02:45 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-20 13:42:22 -0800 |
commit | 047ec60205b5ae8b180386579749d143db4c9be3 (patch) | |
tree | 4e9113efbdffa951b7e4018e80869dce6a52b8b5 /sideband.h | |
parent | 819b929d3389f6007e1c469d9060e7876caeb97f (diff) | |
download | git-047ec60205b5ae8b180386579749d143db4c9be3.tar.gz |
pkt-line: move LARGE_PACKET_MAX definition from sideband
Having the packet sizes defined near the packet read/write
functions makes more sense.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sideband.h')
-rw-r--r-- | sideband.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sideband.h b/sideband.h index d72db35d1e..e46bed0b01 100644 --- a/sideband.h +++ b/sideband.h @@ -4,9 +4,6 @@ #define SIDEBAND_PROTOCOL_ERROR -2 #define SIDEBAND_REMOTE_ERROR -1 -#define DEFAULT_PACKET_MAX 1000 -#define LARGE_PACKET_MAX 65520 - int recv_sideband(const char *me, int in_stream, int out); ssize_t send_sideband(int fd, int band, const char *data, ssize_t sz, int packet_max); |