diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-04-19 19:16:09 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-04-19 19:16:09 +0000 |
commit | 3d7a244b5470e104539580c7bc489d7b581430eb (patch) | |
tree | db1d6a47dc7d040610f94351af857ef83f05ed39 /src/starter/exec.c | |
parent | d940c7638cb964aaa66bdf96af803c678c5522c3 (diff) | |
download | strongswan-3d7a244b5470e104539580c7bc489d7b581430eb.tar.bz2 strongswan-3d7a244b5470e104539580c7bc489d7b581430eb.tar.xz |
conversion from 8 spaces to 4 spaces per tab
Diffstat (limited to 'src/starter/exec.c')
-rw-r--r-- | src/starter/exec.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/starter/exec.c b/src/starter/exec.c index e506f8448..d7a2f4802 100644 --- a/src/starter/exec.c +++ b/src/starter/exec.c @@ -37,18 +37,18 @@ int starter_exec(const char *fmt, ...) { - va_list args; - static char buf[BUF_SIZE]; - int r; - - va_start (args, fmt); - vsnprintf(buf, BUF_SIZE-1, fmt, args); - buf[BUF_SIZE - 1] = '\0'; - va_end(args); - r = system(buf); - DBG(DBG_CONTROL, - DBG_log("starter_exec(%s) = %d", buf, r) - ) - return r; + va_list args; + static char buf[BUF_SIZE]; + int r; + + va_start (args, fmt); + vsnprintf(buf, BUF_SIZE-1, fmt, args); + buf[BUF_SIZE - 1] = '\0'; + va_end(args); + r = system(buf); + DBG(DBG_CONTROL, + DBG_log("starter_exec(%s) = %d", buf, r) + ) + return r; } |