summaryrefslogtreecommitdiff
path: root/libpiano/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpiano/src/main.c')
-rw-r--r--libpiano/src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c
index 33cd5df..f7aebc5 100644
--- a/libpiano/src/main.c
+++ b/libpiano/src/main.c
@@ -853,6 +853,10 @@ const char *PianoErrorToStr (PianoReturn_t ret) {
return "Not authorized.";
break;
+ case PIANO_RET_PROTOCOL_INCOMPATIBLE:
+ return "Protocol incompatible. Please upgrade " PACKAGE_NAME ".";
+ break;
+
default:
return "No error message available.";
break;