[lxc-devel] [lxc/master] list: fix indent

2xsec on Github lxc-bot at linuxcontainers.org
Tue Aug 21 06:03:16 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 399 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180821/6db1529f/attachment.bin>
-------------- next part --------------
From ca9a25048b123bc80347d0f85a06acc3b8032298 Mon Sep 17 00:00:00 2001
From: 2xsec <dh48.jeong at samsung.com>
Date: Tue, 21 Aug 2018 15:02:06 +0900
Subject: [PATCH] list: fix indent

Signed-off-by: 2xsec <dh48.jeong at samsung.com>
---
 src/lxc/list.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lxc/list.h b/src/lxc/list.h
index 9858081ab..e3d409f2f 100644
--- a/src/lxc/list.h
+++ b/src/lxc/list.h
@@ -154,14 +154,14 @@ static inline void lxc_list_del(struct lxc_list *list)
 /* Return length of the list. */
 static inline size_t lxc_list_len(struct lxc_list *list)
 {
-	 size_t i = 0;
-	 struct lxc_list *iter;
+	size_t i = 0;
+	struct lxc_list *iter;
 
-	 lxc_list_for_each(iter, list) {
+	lxc_list_for_each(iter, list) {
 		i++;
-	 }
+	}
 
-	 return i;
+	return i;
 }
 
 #endif /* __LXC_LIST_H */


More information about the lxc-devel mailing list