Mercurial > pidgin
diff libpurple/protocols/irc/dcc_send.c @ 22131:d5e8ee52ddcc
Use g_strerror() instead of strerror() in a few places.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 16 Jan 2008 19:12:46 +0000 |
parents | 11eb52cb7525 |
children | c2b9399d95b2 |
line wrap: on
line diff
--- a/libpurple/protocols/irc/dcc_send.c Wed Jan 16 07:51:44 2008 +0000 +++ b/libpurple/protocols/irc/dcc_send.c Wed Jan 16 19:12:46 2008 +0000 @@ -56,7 +56,7 @@ l = htonl(xfer->bytes_sent); result = write(xfer->fd, &l, sizeof(l)); if (result != sizeof(l)) { - purple_debug_error("irc", "unable to send acknowledgement: %s\n", strerror(errno)); + purple_debug_error("irc", "unable to send acknowledgement: %s\n", g_strerror(errno)); /* TODO: We should probably close the connection here or something. */ } }