aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:40:08 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:40:08 +0000
commit03af5a603b7cc53432249d5854cd412aa90dde0d (patch)
tree3620649c73faf724035c0ee4c7ad57e33db52294
parent721c558799972c4d7bc6ba88251753a568422eed (diff)
downloadgnunet-03af5a603b7cc53432249d5854cd412aa90dde0d.tar.gz
gnunet-03af5a603b7cc53432249d5854cd412aa90dde0d.zip
LRN: Prepare-for-indentation
-rw-r--r--src/arm/do_start_process.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arm/do_start_process.c b/src/arm/do_start_process.c
index 139d0c429..a2aca9dea 100644
--- a/src/arm/do_start_process.c
+++ b/src/arm/do_start_process.c
@@ -30,8 +30,10 @@ do_start_process (const int *lsocks,
30 va_start (ap, first_arg); 30 va_start (ap, first_arg);
31 arg = first_arg; 31 arg = first_arg;
32 last = NULL; 32 last = NULL;
33/* *INDENT-OFF* */
33 do 34 do
34 { 35 {
36/* *INDENT-ON* */
35 rpos = arg; 37 rpos = arg;
36 while ('\0' != *rpos) 38 while ('\0' != *rpos)
37 { 39 {
@@ -50,8 +52,10 @@ do_start_process (const int *lsocks,
50 } 52 }
51 if (last != NULL) 53 if (last != NULL)
52 argv_size++; 54 argv_size++;
55/* *INDENT-OFF* */
53 } 56 }
54 while (NULL != (arg = (va_arg (ap, const char*)))); 57 while (NULL != (arg = (va_arg (ap, const char*))));
58/* *INDENT-ON* */
55 va_end (ap); 59 va_end (ap);
56 60
57 argv = GNUNET_malloc (argv_size * sizeof (char *)); 61 argv = GNUNET_malloc (argv_size * sizeof (char *));
@@ -59,8 +63,10 @@ do_start_process (const int *lsocks,
59 va_start (ap, first_arg); 63 va_start (ap, first_arg);
60 arg = first_arg; 64 arg = first_arg;
61 last = NULL; 65 last = NULL;
66/* *INDENT-OFF* */
62 do 67 do
63 { 68 {
69/* *INDENT-ON* */
64 cp = GNUNET_strdup (arg); 70 cp = GNUNET_strdup (arg);
65 pos = cp; 71 pos = cp;
66 while ('\0' != *pos) 72 while ('\0' != *pos)
@@ -84,8 +90,10 @@ do_start_process (const int *lsocks,
84 argv[argv_size++] = GNUNET_strdup (last); 90 argv[argv_size++] = GNUNET_strdup (last);
85 last = NULL; 91 last = NULL;
86 GNUNET_free (cp); 92 GNUNET_free (cp);
93/* *INDENT-OFF* */
87 } 94 }
88 while (NULL != (arg = (va_arg (ap, const char*)))); 95 while (NULL != (arg = (va_arg (ap, const char*))));
96/* *INDENT-ON* */
89 va_end (ap); 97 va_end (ap);
90 argv[argv_size] = NULL; 98 argv[argv_size] = NULL;
91 proc = GNUNET_OS_start_process_v (lsocks, argv[0], argv); 99 proc = GNUNET_OS_start_process_v (lsocks, argv[0], argv);