aboutsummaryrefslogtreecommitdiff
path: root/xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'xdr.c')
-rw-r--r--xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdr.c b/xdr.c
index 299966e..fa12311 100644
--- a/xdr.c
+++ b/xdr.c
@@ -103,7 +103,7 @@ hal_error_t hal_xdr_encode_buffer(uint8_t **outbuf, const uint8_t * const limit,
hal_error_t ret;
/* arg checks */
- if (outbuf == NULL || *outbuf == NULL || limit == NULL ||
+ if (outbuf == NULL || *outbuf == NULL || limit == NULL ||
(value == NULL && len != 0))
return HAL_ERROR_BAD_ARGUMENTS;