Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/am-utils/dist/amd Fix check for non-positive ti...
details: https://anonhg.NetBSD.org/src/rev/5acca7c6de51
branches: trunk
changeset: 340233:5acca7c6de51
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Aug 28 11:38:57 2015 +0000
description:
Fix check for non-positive timestamps.
diffstat:
external/bsd/am-utils/dist/amd/info_ldap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9b022130a323 -r 5acca7c6de51 external/bsd/am-utils/dist/amd/info_ldap.c
--- a/external/bsd/am-utils/dist/amd/info_ldap.c Fri Aug 28 11:29:48 2015 +0000
+++ b/external/bsd/am-utils/dist/amd/info_ldap.c Fri Aug 28 11:38:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: info_ldap.c,v 1.1.1.3 2015/01/17 16:34:15 christos Exp $ */
+/* $NetBSD: info_ldap.c,v 1.2 2015/08/28 11:38:57 joerg Exp $ */
/*
* Copyright (c) 1997-2014 Erez Zadok
@@ -448,7 +448,7 @@
vals[0], map);
err = ENOENT;
}
- if (!*ts > 0) {
+ if (*ts <= 0) {
plog(XLOG_USER, "Nonpositive timestamp %ld for map %s\n",
(u_long) *ts, map);
err = ENOENT;
Home |
Main Index |
Thread Index |
Old Index