/[imapfilter]/imapfilter/misc.c
ViewVC logotype

Diff of /imapfilter/misc.c

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

revision 1.3 by lefcha, Thu Nov 8 17:27:17 2001 UTC revision 1.4 by lefcha, Sat Nov 10 15:31:07 2001 UTC
# Line 76  char *ultostr(unsigned long int num, int Line 76  char *ultostr(unsigned long int num, int
76   * array pointed by dest, always NULL terminating (unless size == 0).   * array pointed by dest, always NULL terminating (unless size == 0).
77   * Returns pointer to dest.   * Returns pointer to dest.
78   */   */
79  char *xstrncpy(char *dest, char *src, size_t size)  char *xstrncpy(char *dest, const char *src, size_t size)
80  {  {
81      char *d = dest;      char *d = dest;
82      char *s = src;      const char *s = src;
83      size_t n = size;      size_t n = size;
84    
85      while (n) {      while (n) {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26