Changeset 4131 for trunk/lib-src/fakemail.c
- Timestamp:
- 2006年07月29日 07時48分34秒 (2 years ago)
- Files:
-
- trunk/lib-src/fakemail.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib-src/fakemail.c
r4073 r4131 176 176 177 177 static void 178 fatal (s1 , s2)179 char *s1 , *s2;180 { 181 error ( s1, s2);178 fatal (s1) 179 char *s1; 180 { 181 error ("%s", s1); 182 182 exit (EXIT_FAILURE); 183 183 } … … 191 191 long *result = (long *) malloc (((unsigned) size)); 192 192 if (result == ((long *) NULL)) 193 fatal ("virtual memory exhausted" , 0);193 fatal ("virtual memory exhausted"); 194 194 return result; 195 195 } … … 378 378 if (! (tm && TM_YEAR_IN_ASCTIME_RANGE (tm->tm_year) 379 379 && (the_date = asctime (tm)))) 380 fatal ("current time is out of range" , 0);380 fatal ("current time is out of range"); 381 381 /* the_date has an unwanted newline at the end */ 382 382 date_length = strlen (the_date) - 1;
