diff options
| author | David Shaw <[email protected]> | 2005-03-22 23:41:08 +0000 |
|---|---|---|
| committer | David Shaw <[email protected]> | 2005-03-22 23:41:08 +0000 |
| commit | 1517f0e945d98966316219fb5601c6a8cce69a84 (patch) | |
| tree | d4e583f62c10fce8e021228d56f30426871499c0 /keyserver/gpgkeys_hkp.c | |
| parent | * gpgv.c: Stubs for tty_enable_completion() & tty_disable_completion(). (diff) | |
| download | gnupg-1517f0e945d98966316219fb5601c6a8cce69a84.tar.gz gnupg-1517f0e945d98966316219fb5601c6a8cce69a84.zip | |
* gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved from
gpgkeys_ldap.c. Print a string, but strip out any CRs.
* gpgkeys_finger.c (get_key), gpgkeys_hkp.c (get_key), gpgkeys_http.c
(get_key): Use it here when outputting key material to canonicalize
line endings.
Diffstat (limited to 'keyserver/gpgkeys_hkp.c')
| -rw-r--r-- | keyserver/gpgkeys_hkp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index 6cdefc6bc..ec715f5cd 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -267,14 +267,14 @@ get_key(char *getkey) if(gotit) { - fputs (line, output); + print_nocr(output,line); if(strncmp(line,END,strlen(END))==0) break; } else if(strncmp(line,BEGIN,strlen(BEGIN))==0) { - fputs (line,output); + print_nocr(output,line); gotit=1; } } |
