summaryrefslogtreecommitdiff
path: root/src/libskabus/skabus_rpc_idstr_async.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libskabus/skabus_rpc_idstr_async.c')
-rw-r--r--src/libskabus/skabus_rpc_idstr_async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libskabus/skabus_rpc_idstr_async.c b/src/libskabus/skabus_rpc_idstr_async.c
index 9737086..4a77319 100644
--- a/src/libskabus/skabus_rpc_idstr_async.c
+++ b/src/libskabus/skabus_rpc_idstr_async.c
@@ -17,7 +17,7 @@ int skabus_rpc_idstr_async (skabus_rpc_t *a, char const *idstr, skabus_rpc_inter
char pack[10] = "S" ;
struct iovec v[3] = { { .iov_base = pack, .iov_len = 10 }, { .iov_base = (char *)idstr, .iov_len = idlen+1 }, { .iov_base = (char *)re, .iov_len = relen+1 } } ;
if (idlen > SKABUS_RPC_IDSTR_SIZE) return (errno = ENAMETOOLONG, 0) ;
- if (relen > 0x6ffffffe) return (errno = ENAMETOOLONG, 0) ;
+ if (relen > SKABUS_RPC_RE_MAXLEN) return (errno = ENAMETOOLONG, 0) ;
if (!gensetdyn_new(&a->r, &a->pmid)) return 0 ;
result->ifid = a->pmid ;
result->r = &a->r ;