diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 11:16:38 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-29 11:16:38 +0000 |
commit | 67e0aea25850b8286f750e6458e5de741e6cb3b5 (patch) | |
tree | 1225ab14f9cb5f79c12540b677a1d8aadcbce0bf /src/helper/options.c | |
parent | 4febcd8313cf46bea03bd5eacb3f287f19eb2961 (diff) |
Summary: passing of variable argument list reduced, strings sent to logging are now formatted just once - more efficient.
As a result, ugly string malloc+strcpy are not needed anymore.
git-svn-id: svn://svn.berlios.de/openocd/trunk@386 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/options.c')
-rw-r--r-- | src/helper/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/options.c b/src/helper/options.c index 6e1f10b7..35ab0f5d 100644 --- a/src/helper/options.c +++ b/src/helper/options.c @@ -48,7 +48,7 @@ static struct option long_options[] = int configuration_output_handler(struct command_context_s *context, char* line) { - INFO_SAMELINE(line); + INFO_N(line); return ERROR_OK; } |