commit - 46e4e74b0a512a6d37edcb8c711bc972f0adc908
commit + ae6f257a8d22174cb2326cd60d690cceea59fa8e
blob - 77de75646546540002bbceae3dd6519ef4739dcb
blob + e13036d70273f0b68f3d8b52fb1aa961de7e7703
--- kamid/client.c
+++ kamid/client.c
if (*len < sizeof(*dst)) {
log_warnx("%s: wanted %zu bytes for the %s field but only "
"%zu are available.", t, sizeof(*dst), f, *len);
- return -1;
+ return 0;
}
memcpy(dst, *src, sizeof(*dst));
if (*len < sizeof(*dst)) {
log_warnx("%s: wanted %zu bytes for the %s field but only "
"%zu are available.", t, sizeof(*dst), f, *len);
- return -1;
+ return 0;
}
memcpy(dst, *src, sizeof(*dst));
if (*len < sizeof(*dst)) {
log_warnx("%s: wanted %zu bytes for the %s field but only "
"%zu are available.", t, sizeof(*dst), f, *len);
- return -1;
+ return 0;
}
memcpy(dst, *src, sizeof(*dst));
if (*len < sizeof(*dst)) {
log_warnx("%s: wanted %zu bytes for the %s field but only "
"%zu are available.", t, sizeof(*dst), f, *len);
- return -1;
+ return 0;
}
memcpy(dst, *src, sizeof(*dst));