Mercurial > hg > Applications > mh
comparison zotnet/mf/mf.c @ 12:441a2190cfae
Lion fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 Apr 2012 13:10:49 +0900 |
parents | bce86c4163a3 |
children |
comparison
equal
deleted
inserted
replaced
11:5cf052bee63d | 12:441a2190cfae |
---|---|
1 /* mf.c - mail filter subroutines */ | 1 /* mf.c - mail filter subroutines */ |
2 #ifndef lint | 2 #ifndef lint |
3 static char ident[] = "@(#)$Id$"; | 3 static char ident[] = "@(#)$Id: mf.c,v 1.1.1.1 2005/04/18 14:46:07 kono Exp $"; |
4 #endif /* lint */ | 4 #endif /* lint */ |
5 | 5 |
6 #include "mf.h" | 6 #include "mf.h" |
7 #include <ctype.h> | 7 #include <ctype.h> |
8 #include <stdio.h> | 8 #include <stdio.h> |
430 break; | 430 break; |
431 } | 431 } |
432 while (isspace (*ap & 0xff)) | 432 while (isspace (*ap & 0xff)) |
433 ap++; | 433 ap++; |
434 if (cp) | 434 if (cp) |
435 (void) sprintf (adr, "%.*s", cp - ap, ap); | 435 (void) sprintf (adr, "%.*s", (int)(cp - ap), ap); |
436 else | 436 else |
437 (void) strcpy (adr, ap); | 437 (void) strcpy (adr, ap); |
438 bp = adr + strlen (adr) - 1; | 438 bp = adr + strlen (adr) - 1; |
439 if (*bp == ',' || *bp == ';' || *bp == '\n') | 439 if (*bp == ',' || *bp == ';' || *bp == '\n') |
440 *bp = 0; | 440 *bp = 0; |