From b008274afdbe375b32a7e66dbd073e200f6f0587 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Feb 2011 12:57:53 +0100 Subject: Nuked almost all trailing white space. We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again. --- g10/tdbdump.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'g10/tdbdump.c') diff --git a/g10/tdbdump.c b/g10/tdbdump.c index b68cde2f6..25a916e5b 100644 --- a/g10/tdbdump.c +++ b/g10/tdbdump.c @@ -68,16 +68,16 @@ void list_trustdb( const char *username ) { TRUSTREC rec; - + (void)username; - + init_trustdb(); /* For now we ignore the user ID. */ if (1) { ulong recnum; int i; - + printf("TrustDB: %s\n", tdbio_get_dbname() ); for(i=9+strlen(tdbio_get_dbname()); i > 0; i-- ) putchar('-'); @@ -187,7 +187,7 @@ import_ownertrust( const char *fname ) fpr[fprlen++] = HEXTOBIN(p[0]) * 16 + HEXTOBIN(p[1]); while (fprlen < 20) fpr[fprlen++] = 0; - + rc = tdbio_search_trust_byfpr (fpr, &rec); if( !rc ) { /* found: update */ if (rec.r.trust.ownertrust != otrust) @@ -220,7 +220,7 @@ import_ownertrust( const char *fname ) log_error ( _("read error in `%s': %s\n"), fname, strerror(errno) ); if( !is_stdin ) fclose(fp); - + if (any) { revalidation_mark (); @@ -228,7 +228,5 @@ import_ownertrust( const char *fname ) if (rc) log_error (_("trustdb: sync failed: %s\n"), g10_errstr(rc) ); } - -} - +} -- cgit v1.2.3