summaryrefslogtreecommitdiff
path: root/src/libimcv/swima/swima_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libimcv/swima/swima_error.c')
-rw-r--r--src/libimcv/swima/swima_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libimcv/swima/swima_error.c b/src/libimcv/swima/swima_error.c
index 2aed2966b..bce4645f0 100644
--- a/src/libimcv/swima/swima_error.c
+++ b/src/libimcv/swima/swima_error.c
@@ -59,7 +59,7 @@ pa_tnc_attr_t* swima_error_create(pa_tnc_error_code_t code, uint32_t request_id,
writer = bio_writer_create(4);
writer->write_uint32(writer, request_id);
- if (code == PA_ERROR_SW_RESPONSE_TOO_LARGE)
+ if (code == PA_ERROR_SWIMA_RESPONSE_TOO_LARGE)
{
writer->write_uint32(writer, max_attr_size);
}