Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/bta2dpd/bta2dpd Consistent indentation / whitespace



details:   https://anonhg.NetBSD.org/src/rev/34f4ebd19401
branches:  trunk
changeset: 458651:34f4ebd19401
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Aug 05 13:50:58 2019 +0000

description:
Consistent indentation / whitespace

diffstat:

 usr.sbin/bta2dpd/bta2dpd/sbc_encode.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r c1aa8bd3853f -r 34f4ebd19401 usr.sbin/bta2dpd/bta2dpd/sbc_encode.c
--- a/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c     Mon Aug 05 13:49:10 2019 +0000
+++ b/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c     Mon Aug 05 13:50:58 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbc_encode.c,v 1.8 2019/08/05 13:49:10 maya Exp $ */
+/* $NetBSD: sbc_encode.c,v 1.9 2019/08/05 13:50:58 maya Exp $ */
 
 /*-
  * Copyright (c) 2015 - 2016 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -983,7 +983,6 @@
                return -1;
        }
 
-
        myFrame = frameData + sizeof(myHeader);
        next_pkt = 0;
        pkt_len = 0;
@@ -1002,7 +1001,7 @@
        res = (ssize_t)(sizeof(myHeader)) + next_pkt;
                readlen -= res;
        if (readlen > 0)
-                       memcpy(frameData, frameData + res, (size_t)readlen);
+               memcpy(frameData, frameData + res, (size_t)readlen);
 
 send_again:
        len = write(outfd, music, totalSize);



Home | Main Index | Thread Index | Old Index