summaryrefslogtreecommitdiffstats
path: root/src/polyp-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polyp-error.c')
-rw-r--r--src/polyp-error.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/polyp-error.c b/src/polyp-error.c
index 861711a2..86166b0c 100644
--- a/src/polyp-error.c
+++ b/src/polyp-error.c
@@ -1,3 +1,4 @@
+#include <stdio.h>
#include <stdlib.h>
#include "polyp-error.h"
@@ -14,7 +15,9 @@ static const char* const errortab[PA_ERROR_MAX] = {
[PA_ERROR_PROTOCOL] = "Protocol corrupt",
[PA_ERROR_TIMEOUT] = "Timeout",
[PA_ERROR_AUTHKEY] = "Not authorization key",
- [PA_ERROR_INTERNAL] = "Internal error"
+ [PA_ERROR_INTERNAL] = "Internal error",
+ [PA_ERROR_CONNECTIONTERMINATED] = "Connection terminated",
+ [PA_ERROR_KILLED] = "Entity killed",
};
const char*pa_strerror(uint32_t error) {