]> code.delx.au - pulseaudio/blobdiff - polyp/polyplib-error.c
Make the whole stuff LGPL only
[pulseaudio] / polyp / polyplib-error.c
index 10b637c4dff5d94ef030997d2ed812e90a2728ce..50a6727094ceebcecc436cefef6ce09513567a98 100644 (file)
@@ -4,7 +4,7 @@
   This file is part of polypaudio.
  
   polypaudio is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published
+  it under the terms of the GNU Lesser General Public License as published
   by the Free Software Foundation; either version 2 of the License,
   or (at your option) any later version.
  
@@ -13,7 +13,7 @@
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   General Public License for more details.
  
-  You should have received a copy of the GNU General Public License
+  You should have received a copy of the GNU Lesser General Public License
   along with polypaudio; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
   USA.
@@ -37,12 +37,13 @@ static const char* const errortab[PA_ERROR_MAX] = {
     [PA_ERROR_EXIST] = "Entity exists",
     [PA_ERROR_NOENTITY] = "No such entity",
     [PA_ERROR_CONNECTIONREFUSED] = "Connection refused",
-    [PA_ERROR_PROTOCOL] = "Protocol corrupt",
+    [PA_ERROR_PROTOCOL] = "Protocol error",
     [PA_ERROR_TIMEOUT] = "Timeout",
-    [PA_ERROR_AUTHKEY] = "Not authorization key",
+    [PA_ERROR_AUTHKEY] = "No authorization key",
     [PA_ERROR_INTERNAL] = "Internal error",
     [PA_ERROR_CONNECTIONTERMINATED] = "Connection terminated",
     [PA_ERROR_KILLED] = "Entity killed",
+    [PA_ERROR_INVALIDSERVER] = "Invalid server",
 };
 
 const char*pa_strerror(uint32_t error) {