/[mailutils]/mailutils/mailbox/mbx_imap.c
ViewVC logotype

Diff of /mailutils/mailbox/mbx_imap.c

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

revision 1.64 by gray, Tue Oct 29 12:44:30 2002 UTC revision 1.65 by gray, Wed Dec 11 15:18:06 2002 UTC
# Line 2178  add_number (char **pset, size_t start, s Line 2178  add_number (char **pset, size_t start, s
2178    if (start == 0)    if (start == 0)
2179      *buf = '\0';      *buf = '\0';
2180    else if (start != end)    else if (start != end)
2181      snprintf (buf, sizeof buf, "%d:%d", start, end);      snprintf (buf, sizeof buf, "%lu:%lu",
2182                  (unsigned long) start,
2183                  (unsigned long) end);
2184    else    else
2185      snprintf (buf, sizeof buf, "%d", start);      snprintf (buf, sizeof buf, "%lu", (unsigned long) start);
2186    
2187    if (set_len)    if (set_len)
2188      tmp = realloc (set, set_len + strlen (buf) + 2 /* null and comma */);      tmp = realloc (set, set_len + strlen (buf) + 2 /* null and comma */);

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

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