diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-23 18:24:23 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-23 18:24:23 +0100 |
commit | 2a4bcf633711d379b40e9fb1401a87779254fe69 (patch) | |
tree | 285095d745a6f01afd9723e8a2dad75984587a62 /src/streams/socket.c | |
parent | 4df9f3c68fa2f423835a3d7bf6339714e286423e (diff) | |
download | libgit2-ethomson/error_messages.tar.gz |
errors: use lowercaseethomson/error_messages
Use lowercase for our error messages, per our custom.
Diffstat (limited to 'src/streams/socket.c')
-rw-r--r-- | src/streams/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/streams/socket.c b/src/streams/socket.c index 066580f64..33f7883cd 100644 --- a/src/streams/socket.c +++ b/src/streams/socket.c @@ -138,7 +138,7 @@ static ssize_t socket_write(git_stream *stream, const char *data, size_t len, in 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; } @@ -151,7 +151,7 @@ static ssize_t socket_read(git_stream *stream, void *data, size_t len) 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; } |