Fix syntax errors (0 = foo()).

This commit is contained in:
Bruce Evans 1994-11-27 16:01:29 +00:00
parent 7b9754ed1f
commit 8a3c1b369a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4839

View File

@ -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);