summaryrefslogtreecommitdiffstats
path: root/src/polyp/error.c
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-03-02 21:56:15 +0000
committerPierre Ossman <ossman@cendio.se>2006-03-02 21:56:15 +0000
commitbc97b29447bf5c9932ceccb665fa57dd7f654b36 (patch)
treef190713863f976e8e05cb9ee2b41cbaa8b433e71 /src/polyp/error.c
parentfbaaf5acb7b391c605585971dac2b417b55f1100 (diff)
Negotiate protocol version between server and client. Will allow smoother
protocol modifications in the future. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@621 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/error.c')
-rw-r--r--src/polyp/error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/polyp/error.c b/src/polyp/error.c
index eff37cc8..3f3e637f 100644
--- a/src/polyp/error.c
+++ b/src/polyp/error.c
@@ -48,6 +48,7 @@ static const char* const errortab[PA_ERR_MAX] = {
[PA_ERR_MODINITFAILED] = "Module initalization failed",
[PA_ERR_BADSTATE] = "Bad state",
[PA_ERR_NODATA] = "No data",
+ [PA_ERR_VERSION] = "Incompatible protocol version",
};
const char*pa_strerror(int error) {