Change in libosmocore[master]: cosmetic: Whitespace fixes in control_if.c

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat May 26 09:44:17 UTC 2018


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/9328


Change subject: cosmetic: Whitespace fixes in control_if.c
......................................................................

cosmetic: Whitespace fixes in control_if.c

Change-Id: I24666d0b90a355e9fdefd280d48900b8cac1de64
---
M src/ctrl/control_if.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/28/9328/1

diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index 0ba2512..269b7b9 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -230,7 +230,7 @@
 	if (!request)
 		goto err;
 
-	for (i=0;i<strlen(request);i++) {
+	for (i = 0; i < strlen(request); i++) {
 		if (request[i] == '.')
 			request[i] = ' ';
 	}
@@ -242,7 +242,7 @@
 		goto err;
 	}
 
-	for (i=0;i<vector_active(vline);i++) {
+	for (i = 0; i < vector_active(vline); i++) {
 		struct lookup_helper *lh;
 		int rc;
 
@@ -274,7 +274,7 @@
 			return ret;
 		default: /* If we're here the rest must be the command */
 			cmdvec = vector_init(vector_active(vline)-i);
-			for (j=i; j<vector_active(vline); j++) {
+			for (j = i; j < vector_active(vline); j++) {
 				vector_set(cmdvec, vector_slot(vline, j));
 			}
 

-- 
To view, visit https://gerrit.osmocom.org/9328
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I24666d0b90a355e9fdefd280d48900b8cac1de64
Gerrit-Change-Number: 9328
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180526/68b847f2/attachment.htm>


More information about the gerrit-log mailing list