X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c83acac4bb6fe61e1e0f4b8e4b2e4a0d2f00b416..4974d09cc659e2859fcf916ad020628c9695e2f8:/sbr/dtime.c diff --git a/sbr/dtime.c b/sbr/dtime.c index b4aaed8d..481cfe6e 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -198,8 +198,8 @@ dctime (struct tws *tw) * Mon, 16 Jun 1992 15:30:48 -700 (or) * Mon, 16 Jun 1992 15:30:48 EDT * - * for the current time, as specified by rfc822. - * The first form is required by rfc1123. + * for the current time, as specified by RFC 822. + * The first form is required by RFC 1123. */ char * @@ -219,8 +219,8 @@ dtimenow (int alpha_timezone) * Mon, 16 Jun 1992 15:30:48 -700 (or) * Mon, 16 Jun 1992 15:30:48 EDT * - * as specified by rfc822. The first form is required - * by rfc1123 for outgoing messages. + * as specified by RFC 822. The first form is required + * by RFC 1123 for outgoing messages. */ char * @@ -241,7 +241,7 @@ dtime (time_t *clock, int alpha_timezone) * * Mon, 16 Jun 1992 15:30:48 -0700 * - * as specified by rfc822 and rfc1123. + * as specified by RFC 822 and RFC 1123. */ char * @@ -386,7 +386,8 @@ set_dotw (struct tws *tw) if (tw->tw_wday < 0) tw->tw_wday += 7; - tw->tw_flags &= ~TW_SDAY, tw->tw_flags |= TW_SIMP; + tw->tw_flags &= ~TW_SDAY; + tw->tw_flags |= TW_SIMP; }