summaryrefslogtreecommitdiff
path: root/librabbitmq/unix
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq/unix')
-rw-r--r--librabbitmq/unix/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/unix/socket.c b/librabbitmq/unix/socket.c
index f4a7195..9d37dfc 100644
--- a/librabbitmq/unix/socket.c
+++ b/librabbitmq/unix/socket.c
@@ -79,7 +79,7 @@ int amqp_socket_socket(int domain, int type, int proto)
return s;
}
-const char *amqp_os_error_string(int err)
+char *amqp_os_error_string(int err)
{
return strdup(strerror(err));
}