Mercurial > noffle
comparison src/pseudo.c @ 92:160a0af71cf8 noffle
[svn] Renamed date format function
| author | bears |
|---|---|
| date | Fri, 19 May 2000 16:13:44 +0100 |
| parents | 125d79c9e586 |
| children | 22b81617d427 |
comparison
equal
deleted
inserted
replaced
| 91:93cc929329eb | 92:160a0af71cf8 |
|---|---|
| 1 /* | 1 /* |
| 2 pseudo.c | 2 pseudo.c |
| 3 | 3 |
| 4 $Id: pseudo.c 60 2000-05-09 22:28:38Z uh1763 $ | 4 $Id: pseudo.c 111 2000-05-19 15:13:44Z bears $ |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #if HAVE_CONFIG_H | 7 #if HAVE_CONFIG_H |
| 8 #include <config.h> | 8 #include <config.h> |
| 9 #endif | 9 #endif |
| 40 time_t t; | 40 time_t t; |
| 41 Str subj, date, msgId; | 41 Str subj, date, msgId; |
| 42 | 42 |
| 43 snprintf( subj, MAXCHAR, "[ %s ]", rawSubj ); | 43 snprintf( subj, MAXCHAR, "[ %s ]", rawSubj ); |
| 44 time( &t ); | 44 time( &t ); |
| 45 Utl_rfc822Date( t, date ); | 45 Utl_newsDate( t, date ); |
| 46 Prt_genMsgId( msgId, "", suffix ); | 46 Prt_genMsgId( msgId, "", suffix ); |
| 47 bytes = lines = 0; | 47 bytes = lines = 0; |
| 48 while ( *rawBody ) | 48 while ( *rawBody ) |
| 49 { | 49 { |
| 50 ++bytes; | 50 ++bytes; |
