From 4390abeb94d7d15821602bcd27f53620417ab4b2 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 12 Apr 2007 20:16:14 +0000 Subject: added trailing newline to list() --- src/libstrongswan/crypto/crl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/libstrongswan/crypto/crl.c b/src/libstrongswan/crypto/crl.c index bf3776975..e2535f7d3 100755 --- a/src/libstrongswan/crypto/crl.c +++ b/src/libstrongswan/crypto/crl.c @@ -427,27 +427,27 @@ static void list(private_crl_t *this, FILE* out, bool utc) fprintf(out, " next %#T ", &this->nextUpdate, utc); if (this->nextUpdate == UNDEFINED_TIME) { - fprintf(out, "ok (expires never)"); + fprintf(out, "ok (expires never)\n"); } else if (now > this->nextUpdate) { - fprintf(out, "expired (%V ago)", &now, &this->nextUpdate); + fprintf(out, "expired (%V ago)\n", &now, &this->nextUpdate); } else if (now > this->nextUpdate - CRL_WARNING_INTERVAL * 60 * 60 * 24) { - fprintf(out, "ok (expires in %V)", &now, &this->nextUpdate); + fprintf(out, "ok (expires in %V)\n", &now, &this->nextUpdate); } else { - fprintf(out, "ok"); + fprintf(out, "ok\n"); } if (this->authKeyID.ptr) { - fprintf(out, "\n authkey: %#B", &this->authKeyID); + fprintf(out, " authkey: %#B\n", &this->authKeyID); } if (this->authKeySerialNumber.ptr) { - fprintf(out, "\n aserial: %#B", &this->authKeySerialNumber); + fprintf(out, " aserial: %#B\n", &this->authKeySerialNumber); } } -- cgit v1.2.3