From d8f82d91645ef1c0324bd8935254a0aa2886b23d Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 27 Nov 1994 16:01:29 +0000 Subject: Fix syntax errors (0 = foo()). --- usr.sbin/ctm/ctm/ctm_pass3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ctm') diff --git a/usr.sbin/ctm/ctm/ctm_pass3.c b/usr.sbin/ctm/ctm/ctm_pass3.c index 814d680..919c69d 100644 --- a/usr.sbin/ctm/ctm/ctm_pass3.c +++ b/usr.sbin/ctm/ctm/ctm_pass3.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: ctm_pass3.c,v 1.4 1994/09/22 02:49:20 phk Exp $ + * $Id: ctm_pass3.c,v 1.5 1994/11/26 08:57:42 phk Exp $ * */ @@ -158,11 +158,11 @@ Pass3(FILE *fd) continue; } if(!strcmp(sp->Key,"FR")) { - if (0 = unlink(name)) + if (0 == unlink(name)) continue; } if(!strcmp(sp->Key,"DR")) { - if (0 = rmdir(name)) + if (0 == rmdir(name)) continue; #ifdef NOTDEF sprintf(buf,"rm -rf %s",name); -- cgit v1.1