static int count = 0;
 
-/* The log_printfv() serves to somewhat different goals:
+/* The log_puts() serves to somewhat different goals:
  * 
  * - logging
  * - feeding low-level info to the user in GDB or Telnet
                {
                        /* print with count and time information */
                        int t=(int)(time(NULL)-start);
-               fprintf(log_output, "%s %d %d %s:%d %s(): %s", log_strings[level+1], count, t, file, line, function, string);
+                       fprintf(log_output, "%s %d %d %s:%d %s(): %s", log_strings[level+1], count, t, file, line, function, string);
                }
                else
                {
 
        for (p = &log_callbacks; (cb = *p); p = &(*p)->next)
        {
-           if (cb->fn == fn && cb->priv == priv)
-           {
-               *p = cb->next;
+               if (cb->fn == fn && cb->priv == priv)
+               {
+                       *p = cb->next;
                        free(cb);
                        return ERROR_OK;
                }
                                return NULL;
                        }
        
-           int ret;
-           ret = vsnprintf(string, size, fmt, ap);
-           /* NB! The result of the vsnprintf() might be an *EMPTY* string! */
-           if ((ret >= 0) && ((ret + 1) < size))
+               int ret;
+               ret = vsnprintf(string, size, fmt, ap);
+               /* NB! The result of the vsnprintf() might be an *EMPTY* string! */
+               if ((ret >= 0) && ((ret + 1) < size))
                        break;
 
-           /* there was just enough or not enough space, allocate more in the next round */
+               /* there was just enough or not enough space, allocate more in the next round */
        }
        
        /* the returned buffer is by principle guaranteed to be at least one character longer */
-               return string;
+       return string;
 }
 
                if (line_end)
                        len = line_end-line;
                else
-                   len = strlen(line);
+                       len = strlen(line);
 
                telnet_write(connection, line, len);
                if (line_end)
                }
                else
                {
-                   line += len;
+                       line += len;
                }
        }
        
        {
                telnet_write(connection, t_con->line + t_con->line_cursor, t_con->line_size - t_con->line_cursor);
        }
-                                                       
+
        /* backspace, overwrite with space, backspace */
        while (t_con->line_size > 0)
        {