diff options
author | 1999-02-06 01:52:23 +0000 | |
---|---|---|
committer | 1999-02-06 01:52:23 +0000 | |
commit | f5fa13a5bf61e48f28e9ecff752af1bdfbfda435 (patch) | |
tree | 9d054428ce33c422dddb043d63427d0c7309599a | |
parent | sync (diff) | |
download | wireguard-openbsd-f5fa13a5bf61e48f28e9ecff752af1bdfbfda435.tar.xz wireguard-openbsd-f5fa13a5bf61e48f28e9ecff752af1bdfbfda435.zip |
kill redundant (and incorrect) check for mallco failure
-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); } |