diff options
Diffstat (limited to 'lib/aa_socket.h')
-rw-r--r-- | lib/aa_socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |