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

Diff of /mailutils/mailbox/mutil.c

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

revision 1.51 by gray, Sat Jul 26 11:10:00 2003 UTC revision 1.52 by gray, Thu Aug 7 08:52:09 2003 UTC
# Line 1097  ret0: Line 1097  ret0:
1097    
1098  #undef U  #undef U
1099  }    }  
1100    
1101    int
1102    mu_string_unfold (char *text, size_t *plen)
1103    {
1104      char *p, *q;
1105    
1106      if (!text)
1107        return EINVAL;
1108      
1109      for (p = q = text; *q; q++)
1110        if (*q != '\n')
1111          *p++ = *q;
1112      *p++ = 0;
1113      if (plen)
1114        *plen = p - text;
1115      return 0;
1116    }

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

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