]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Merge branch 'maint'
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 13 Jul 2017 15:21:13 +0000 (17:21 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 13 Jul 2017 15:21:13 +0000 (17:21 +0200)
A single important fix for the error subsystem. The merge conflicted
because master removed the E_AAC_AFH_INIT error code while maint
still has it. The conflict was trivial to resolve.

* refs/heads/maint:
  Let error codes start out at index 1.

1  2 
error.h

diff --cc error.h
index ea8f82c4fcfb62cddb299828f9ff730aa7cec7cc,97d678176ef4b49a9892fcf67a06fc05ec902a7d..407859ca5a591b42ca8a489ee58aeeb76e5b3c8e
+++ b/error.h
@@@ -8,6 -8,8 +8,7 @@@
  
  /** Codes and messages. */
  #define PARA_ERRORS \
 -      PARA_ERROR(AAC_AFH_INIT, "failed to init aac decoder"), \
+       PARA_ERROR(SUCCESS, "success"), \
        PARA_ERROR(AACDEC_INIT, "failed to init aac decoder"), \
        PARA_ERROR(AAC_DECODE, "aac decode error"), \
        PARA_ERROR(ACL_PERM, "access denied by acl"), \