Stash the value of the store_first config setting in connection_closure.
If the configuration changes it should not affect a connection that is already in progress.
This commit is contained in:
@@ -254,7 +254,7 @@ journal_seek(struct timespec *target, struct connection_closure *closure)
|
||||
}
|
||||
}
|
||||
|
||||
if (timespeccmp(&elapsed_time, target, >=)) {
|
||||
if (sudo_timespeccmp(&elapsed_time, target, >=)) {
|
||||
if (sudo_timespeccmp(&elapsed_time, target, ==)) {
|
||||
ret = true;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user