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/0f0753a9be35
branches:  trunk
changeset: 457862:0f0753a9be35
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 2506e767f9d6 -r 0f0753a9be35 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