[INN-COMMITTERS] inn/innfeed (imap_connection.c)

Russ Allbery Russ_Allbery at isc.org
Sun Jan 19 19:47:14 UTC 2003


    Date: Sunday, January 19, 2003 @ 11:47:14
  Author: rra
    Path: /dist1/cvs/isc/inn/inn/innfeed

Modified: imap_connection.c

Clean up a whole bunch of string handling code, using xmalloc and xrealloc
instead of malloc and realloc, removing checks on the return status that
are no longer needed, using xstrdup instead of malloc/strcpy, replacing
calls to sprintf with snprintf, and using strlcpy and strlcat instead of
strcpy and strcat.  Some parts of this still need work.


-------------------+
 imap_connection.c |  115 +++++++++++++++++++++++-----------------------------
 1 files changed, 52 insertions(+), 63 deletions(-)


More information about the inn-committers mailing list