summaryrefslogtreecommitdiff
path: root/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index ac8b982..e2548ec 100644
--- a/src/common.c
+++ b/src/common.c
@@ -663,7 +663,8 @@ const char *ca_strerror(int code) {
[-CA_ERROR_IO] = "IO error",
[-CA_ERROR_INTERNAL] = "Internal error",
[-CA_ERROR_DISABLED] = "Sound disabled",
- [-CA_ERROR_FORKED] = "Process forked"
+ [-CA_ERROR_FORKED] = "Process forked",
+ [-CA_ERROR_DISCONNECTED] = "Disconnected"
};
ca_return_val_if_fail(code <= 0, NULL);