diff options
author | Werner Koch <[email protected]> | 2010-04-14 11:24:02 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-04-14 11:24:02 +0000 |
commit | 31d7bdfe771853a480203d7d4a661d476d2231a4 (patch) | |
tree | 470c4ed27b06188b1a1a000ce6fb2c41b260b96d /agent/command-ssh.c | |
parent | 2010-04-13 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-31d7bdfe771853a480203d7d4a661d476d2231a4.tar.gz gnupg-31d7bdfe771853a480203d7d4a661d476d2231a4.zip |
Whole lot of changes to support CE.
Diffstat (limited to 'agent/command-ssh.c')
-rw-r--r-- | agent/command-ssh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c index 077d93209..f5e4eaa98 100644 --- a/agent/command-ssh.c +++ b/agent/command-ssh.c @@ -721,7 +721,8 @@ search_control_file (FILE *fp, const char *hexgrip, assert (strlen (hexgrip) == 40 ); - rewind (fp); + fseek (fp, 0, SEEK_SET); + clearerr (fp); *r_disabled = 0; next_line: do |