/[CvsGraph]/cvsgraph/cvsgraph.c
ViewVC logotype

Diff of /cvsgraph/cvsgraph.c

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

revision 1.23, Tue Jul 16 09:30:34 2002 UTC revision 1.24, Thu Jul 18 12:07:11 2002 UTC
# Line 759  Line 759 
759          int l = strlen(s) + 1;          int l = strlen(s) + 1;
760          if(_nstring + l > _nastring)          if(_nstring + l > _nastring)
761          {          {
762                  _nastring += 128;                  _nastring += MAX(128, l);
763                  _string = xrealloc(_string, _nastring * sizeof(_string[0]));                  _string = xrealloc(_string, _nastring * sizeof(_string[0]));
764          }          }
765          memcpy(_string+_nstring, s, l);          memcpy(_string+_nstring, s, l);

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0