aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-14 06:58:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-14 06:58:56 +0000
commitccbb762630c40bf6d64744f4707051db4c910fbe (patch)
treec0c003ebaa2fc659a6ef1be6866f55fa7a9f5982 /uid.c
parentff0976ad08b3dda64a55daf19892367e1367cf22 (diff)
downloadfetchmail-ccbb762630c40bf6d64744f4707051db4c910fbe.tar.gz
fetchmail-ccbb762630c40bf6d64744f4707051db4c910fbe.tar.bz2
fetchmail-ccbb762630c40bf6d64744f4707051db4c910fbe.zip
Make copying work.
svn path=/trunk/; revision=2828
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uid.c b/uid.c
index 453274b7..cf8a008b 100644
--- a/uid.c
+++ b/uid.c
@@ -394,6 +394,7 @@ struct idlist *copy_str_list(struct idlist *idl)
else
{
newnode = (struct idlist *)xmalloc(sizeof(struct idlist));
+ memcpy(newnode, idl, sizeof(struct idlist));
newnode->next = copy_str_list(idl->next);
return(newnode);
}