Fix warning in lib/ipc/tc.c
This commit is contained in:
@@ -63,7 +63,8 @@ usage(int ret)
|
|||||||
static void
|
static void
|
||||||
reply(void *ctx, int errorcode, heim_idata *rep, heim_icred cred)
|
reply(void *ctx, int errorcode, heim_idata *rep, heim_icred cred)
|
||||||
{
|
{
|
||||||
printf("got reply errorcode %d, rep %.*s\n", errorcode, rep->length, rep->data);
|
printf("got reply errorcode %d, rep %.*s\n", errorcode,
|
||||||
|
rep->length < INT_MAX ? rep->length : INT_MAX, rep->data);
|
||||||
heim_ipc_semaphore_signal((heim_isemaphore)ctx); /* tell caller we are done */
|
heim_ipc_semaphore_signal((heim_isemaphore)ctx); /* tell caller we are done */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user