- clean up target output strings a bit
- open_file_from_path() now uses logging feature - open_file_from_path() no longer uses paths for anything but "r" mode. Fixes bug waiting to happen. git-svn-id: svn://svn.berlios.de/openocd/trunk@389 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -74,7 +74,7 @@ static void log_puts(enum log_levels level, const char *file, int line, const ch
|
||||
if (f != NULL)
|
||||
file = f + 1;
|
||||
|
||||
if (strchr(buffer, '\n')!=NULL)
|
||||
if (strchr(string, '\n')!=NULL)
|
||||
{
|
||||
if (debug_level >= LOG_DEBUG)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user