/[mailutils]/mailutils/examples/addr.c
ViewVC logotype

Diff of /mailutils/examples/addr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by gray, Tue Dec 10 15:00:39 2002 UTC revision 1.11 by gray, Wed Dec 11 15:17:18 2002 UTC
# Line 17  Line 17 
17    
18  #include <stdio.h>  #include <stdio.h>
19  #include <errno.h>  #include <errno.h>
20    #include <string.h>
21    
22  #include <mailutils/address.h>  #include <mailutils/address.h>
23  #include <mailutils/errno.h>  #include <mailutils/errno.h>
# Line 46  parse (const char *str) Line 47  parse (const char *str)
47      }      }
48    else    else
49      {      {
50        printf ("%s=> pcount %d\n", str, pcount);        printf ("%s=> pcount %lu\n", str, (unsigned long) pcount);
51      }      }
52    
53    for (no = 1; no <= pcount; no++)    for (no = 1; no <= pcount; no++)
# Line 56  parse (const char *str) Line 57  parse (const char *str)
57    
58        address_is_group (address, no, &isgroup);        address_is_group (address, no, &isgroup);
59    
60        printf ("%d ", no);        printf ("%lu ", (unsigned long) no);
61    
62        if (isgroup)        if (isgroup)
63          {          {

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26