Module Name: src
Committed By: maya
Date: Mon Aug 5 13:50:58 UTC 2019
Modified Files:
src/usr.sbin/bta2dpd/bta2dpd: sbc_encode.c
Log Message:
Consistent indentation / whitespace
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c
diff -u src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c:1.8 src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c:1.9
--- src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c:1.8 Mon Aug 5 13:49:10 2019
+++ src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c Mon Aug 5 13:50:58 2019
@@ -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 <[email protected]>
@@ -983,7 +983,6 @@ recvstream(int in, int outfd)
return -1;
}
-
myFrame = frameData + sizeof(myHeader);
next_pkt = 0;
pkt_len = 0;
@@ -1002,7 +1001,7 @@ recvstream(int in, int outfd)
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);