vendor/libgit2/src/streams/socket.c in rugged-0.28.5 vs vendor/libgit2/src/streams/socket.c in rugged-0.99.0
- old
+ new
@@ -136,11 +136,11 @@
ssize_t written;
errno = 0;
if ((written = p_send(st->s, data, len, flags)) < 0) {
- net_set_error("Error sending data");
+ net_set_error("error sending data");
return -1;
}
return written;
}
@@ -149,10 +149,10 @@
{
ssize_t ret;
git_socket_stream *st = (git_socket_stream *) stream;
if ((ret = p_recv(st->s, data, len, 0)) < 0)
- net_set_error("Error receiving socket data");
+ net_set_error("error receiving socket data");
return ret;
}
static int socket_close(git_stream *stream)