Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/nvi/dist/common CID 1132768 Clarify assign



details:   https://anonhg.NetBSD.org/src/rev/71f2ebc0c8c5
branches:  trunk
changeset: 791660:71f2ebc0c8c5
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 27 18:11:50 2013 +0000

description:
CID 1132768 Clarify assign

diffstat:

 external/bsd/nvi/dist/common/exf.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ea55c5c29abe -r 71f2ebc0c8c5 external/bsd/nvi/dist/common/exf.c
--- a/external/bsd/nvi/dist/common/exf.c        Wed Nov 27 18:11:00 2013 +0000
+++ b/external/bsd/nvi/dist/common/exf.c        Wed Nov 27 18:11:50 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exf.c,v 1.3 2013/11/25 22:43:46 christos Exp $ */
+/*     $NetBSD: exf.c,v 1.4 2013/11/27 18:11:50 christos Exp $ */
 /*-
  * Copyright (c) 1992, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -711,7 +711,7 @@
 
                db_env_close(ep->env, 0);
                ep->env = 0;
-               if ((sp->db_error = db_env_create(&env, 0)))
+               if ((sp->db_error = db_env_create(&env, 0)) != NULL)
                        msgq(sp, M_DBERR, "env_create");
                if ((sp->db_error = db_env_remove(env, ep->env_path, 0)))
                        msgq(sp, M_DBERR, "env->remove");



Home | Main Index | Thread Index | Old Index