- Fixes '[+]=' whitespace
[fw/openocd] / src / helper / log.c
index ac494da03d41ff2e502b93b733569de9dfc234fc..0e04af6f6bb88b7151e75b96dcdadb88344521e1 100644 (file)
@@ -89,7 +89,7 @@ static void log_puts(enum log_levels level, const char *file, int line, const ch
        if (f != NULL)
                file = f + 1;
 
-       if (strchr(string, '\n')!=NULL)
+       if (strchr(string, '\n') != NULL)
        {
                if (debug_level >= LOG_LVL_DEBUG)
                {
@@ -429,7 +429,7 @@ void alive_sleep(int ms)
 {
        int i;
        int napTime=10;
-       for (i=0; i<ms; i+=napTime)
+       for (i=0; i<ms; i += napTime)
        {
                int sleep_a_bit=ms-i;
                if (sleep_a_bit>napTime)