diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-06 01:52:24 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-06 01:52:24 +0000 |
commit | ea5107c2b569aa24b669049bc54723c410a7ac50 (patch) | |
tree | ab0b662d8303022ca266c4943ce05176f89301c6 /usr.bin/rdist/client.c | |
parent | dec980322d43daa8b298168d2390d93e2154fa7f (diff) |
kill redundant (and incorrect) check for mallco failure
Diffstat (limited to 'usr.bin/rdist/client.c')
-rw-r--r-- | usr.bin/rdist/client.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/rdist/client.c b/usr.bin/rdist/client.c index 25ef8006346..22166100492 100644 --- a/usr.bin/rdist/client.c +++ b/usr.bin/rdist/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.8 1999/02/04 23:18:57 millert Exp $ */ +/* $OpenBSD: client.c,v 1.9 1999/02/06 01:52:23 millert Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -39,7 +39,7 @@ static char RCSid[] = "$From: client.c,v 6.80 1996/02/28 20:34:27 mcooper Exp $"; #else static char RCSid[] = -"$OpenBSD: client.c,v 1.8 1999/02/04 23:18:57 millert Exp $"; +"$OpenBSD: client.c,v 1.9 1999/02/06 01:52:23 millert Exp $"; #endif static char sccsid[] = "@(#)client.c"; @@ -346,8 +346,6 @@ static struct linkbuf *linkinfo(statp) lp->target = xstrdup(Tdest); else lp->target = NULL; - if (!lp->pathname || !lp->src || !(Tdest && lp->target)) - fatalerr("Cannot malloc memory in linkinfo."); return(NULL); } |