diff mbox series

Fix formatting in stream_interface

Message ID 20200415201114.876-3-sbabic@denx.de
State Accepted
Headers show
Series Fix formatting in stream_interface | expand

Commit Message

Stefano Babic April 15, 2020, 8:11 p.m. UTC
Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 core/stream_interface.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/core/stream_interface.c b/core/stream_interface.c
index 5a1f423..f9a71b5 100644
--- a/core/stream_interface.c
+++ b/core/stream_interface.c
@@ -174,11 +174,12 @@  static int extract_files(int fd, struct swupdate_cfg *software)
 				return -1;
 			}
 			if (strcmp("TRAILER!!!", fdh.filename) == 0) {
-                /*
-                 * Keep reading the cpio padding, if any, up to 512 bytes from
-                 * the socket until the client stops writing
-                 */
-                extract_padding(fd, &offset);
+ 				/*
+			 	 * Keep reading the cpio padding, if any, up
+				 * to 512 bytes from the socket until the
+				 * client stops writing
+			 	 */
+				extract_padding(fd, &offset);
 				status = STREAM_END;
 				break;
 			}