diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
commit | 408e980a83437ed621fa99ae0cd8d2bc6579f5ba (patch) | |
tree | 7f73587d84487f989bca966a22fc1c85c3f8397b /lib/aa_socket.h | |
parent | 7d8e6af2df12442c1c133956b3acf3fdbc496423 (diff) |
Fix warnings and error (due to bitrot)master-old
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; |