Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit remove stray brace
details: https://anonhg.NetBSD.org/src/rev/ff2939e3795e
branches: trunk
changeset: 462028:ff2939e3795e
user: christos <christos%NetBSD.org@localhost>
date: Tue Jul 23 13:10:11 2019 +0000
description:
remove stray brace
diffstat:
lib/libedit/literal.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a1bfcf25632f -r ff2939e3795e lib/libedit/literal.c
--- a/lib/libedit/literal.c Tue Jul 23 12:37:23 2019 +0000
+++ b/lib/libedit/literal.c Tue Jul 23 13:10:11 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: literal.c,v 1.4 2019/07/23 10:18:52 christos Exp $ */
+/* $NetBSD: literal.c,v 1.5 2019/07/23 13:10:11 christos Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include "config.h"
#if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: literal.c,v 1.4 2019/07/23 10:18:52 christos Exp $");
+__RCSID("$NetBSD: literal.c,v 1.5 2019/07/23 13:10:11 christos Exp $");
#endif /* not lint && not SCCSID */
/*
@@ -97,7 +97,7 @@
if (b == NULL)
return 0;
- for (n = 0, i = 0; i < len; i++) {
+ for (n = 0, i = 0; i < len; i++)
n += ct_encode_char(b + n, (size_t)(w - n), buf[i]);
n += ct_encode_char(b + n, (size_t)(w - n), end[1]);
b[n] = '\0';
Home |
Main Index |
Thread Index |
Old Index