summaryrefslogtreecommitdiff
path: root/src/netops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/netops.c')
-rw-r--r--src/netops.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/netops.c b/src/netops.c
index 5d17e1769..dad296a94 100644
--- a/src/netops.c
+++ b/src/netops.c
@@ -152,20 +152,6 @@ int gitno_close(GIT_SOCKET s)
}
#endif
-int gitno_send_chunk_size(int s, size_t len)
-{
- char str[8] = {0};
- int ret;
-
- ret = p_snprintf(str, sizeof(str), "%zx\r\n", len);
- if (ret >= (int) sizeof(str)) {
- return git__throw(GIT_ESHORTBUFFER, "Your number is too big");
- }
-
- return gitno_send(s, str, ret, 0 /* TODO: MSG_MORE */);
-}
-
-
int gitno_select_in(gitno_buffer *buf, long int sec, long int usec)
{
fd_set fds;