ipropd-slave: missing error check

This commit is contained in:
Nicolas Williams
2016-02-29 11:41:52 -06:00
parent cfd9d59a15
commit 2415a5ee1d

View File

@@ -231,6 +231,8 @@ append_to_log_file(krb5_context context,
"short krb5_storage_read() from memory buffer");
}
log_off = lseek(server_context->log_context.log_fd, 0, SEEK_CUR);
if (log_off == -1)
return errno;
/*
* Use net_write() so we get an errno if less that len bytes were