diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-14 16:18:51 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-14 16:18:51 +0000 |
| commit | fe93e10999dce85a0a88a7060d5b4ec741cb650f (patch) | |
| tree | 1d2a56e173ccb3f7942dbbd40ce3a83d20be68e5 | |
| parent | c410c680b70b5f8c86a43442b6b106f31353bae7 (diff) | |
Fix ABI breakage due to change of constant name from LASSO_SOAP_FAULT_REDIRECT_REQUEST to LASSO_SOAP_ERROR_REDIRECT_REQUEST_FAULT
| -rw-r--r-- | lasso/build_strerror.py | 4 | ||||
| -rw-r--r-- | lasso/errors.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lasso/build_strerror.py b/lasso/build_strerror.py index 7e5f2ccd..bc51ba2c 100644 --- a/lasso/build_strerror.py +++ b/lasso/build_strerror.py @@ -16,12 +16,12 @@ for line in hlines: m = re.match(r'^ \* (.*[^:])$', line) if m: description = m.group(1) - m = re.match(r'#define (LASSO_\w+)', line) + m = re.match(r'#define (LASSO_\w*ERROR\w+)', line) if m and description: messages[m.group(1)] = description description = None else: - m = re.match(r'#define (LASSO_\w+)',line) + m = re.match(r'#define (LASSO_\w*ERROR\w+)',line) if m: messages[m.group(1)] = m.group(1) diff --git a/lasso/errors.h b/lasso/errors.h index fa65c41b..e55440a9 100644 --- a/lasso/errors.h +++ b/lasso/errors.h @@ -645,11 +645,13 @@ /* Soap */ /** - * LASSO_SOAP_FAULT_REDIRECT_REQUEST: + * LASSO_SOAP_ERROR_REDIRECT_REQUEST_FAULT: * * A SOAP Fault containing a Redirect Request was received */ #define LASSO_SOAP_ERROR_REDIRECT_REQUEST_FAULT 800 +#define LASSO_SOAP_FAULT_REDIRECT_REQUEST LASSO_SOAP_ERROR_REDIRECT_REQUEST_FAULT + /** * LASSO_SOAP_ERROR_MISSING_ENVELOPE: * |
