/[gnats]/gnats/gnats/adm.c
ViewVC logotype

Diff of /gnats/gnats/adm.c

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

revision 1.20 by andrewg, Sun Oct 27 06:21:17 2002 UTC revision 1.21 by hatzis, Thu Feb 24 19:21:12 2005 UTC
# Line 47  copy_adm_entry (AdmEntry *ent) Line 47  copy_adm_entry (AdmEntry *ent)
47    res->field = ent->field;    res->field = ent->field;
48    for (x = 0; x < ent->fieldcount; x++)    for (x = 0; x < ent->fieldcount; x++)
49      {      {
50        res->admFields[x] = xstrdup (ent->admFields[x]);        res->admFields[x] = (ent->admFields[x] == NULL)
51                                ? NULL
52                                : xstrdup (ent->admFields[x]);
53      }      }
54    return res;    return res;
55  }  }

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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