Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



lukem
Tue Nov  4 03:28:48 PST 1997
Update of /cvsroot/src/usr.sbin/ypserv/makedbm
In directory netbsd1:/var/slash-tmp/cvs-serv1663

Modified Files:
        makedbm.c 
Log Message:
add { } in the right place; indentation alone isn't sufficient for
        if (test1)
                if (test2)
                        error()
        else {
                ...
        }
this happened when i changed test2 from a void statement to actually
checking its return value.

the effect of this? a YP_MASTER_KEY value wasn't being added to the
generated databases, which was Not Good.




Home | Main Index | Thread Index | Old Index