From 408e980a83437ed621fa99ae0cd8d2bc6579f5ba Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 27 Oct 2011 12:13:03 +0200 Subject: Fix warnings and error (due to bitrot) --- lib/aa_socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/aa_socket.h') diff --git a/lib/aa_socket.h b/lib/aa_socket.h index 0d02723..4ad4f48 100644 --- a/lib/aa_socket.h +++ b/lib/aa_socket.h @@ -11,7 +11,7 @@ * Exceptions */ struct Network_error { - Network_error(char *event, char *err) { + Network_error(const char *event, char *err) { error = std::string(err) + " - in " + std::string(event); } std::string error; -- cgit v1.2.3