diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-18 13:55:38 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-18 13:55:38 +0000 |
commit | a8daf2251d61b484092b369970649f90a3f32a49 (patch) | |
tree | 11dc229fc75d4d59874900eba3614cf96301d34e /src/helper | |
parent | 7eaed436c63689db74adebf1201fb45e109cb290 (diff) | |
download | openocd_libswd-a8daf2251d61b484092b369970649f90a3f32a49.tar.gz openocd_libswd-a8daf2251d61b484092b369970649f90a3f32a49.tar.bz2 openocd_libswd-a8daf2251d61b484092b369970649f90a3f32a49.tar.xz openocd_libswd-a8daf2251d61b484092b369970649f90a3f32a49.zip |
Remove unecessary(and poptentially harmful?) "" around arguments
passed in to "eval" in command.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1811 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c index 9d4956c7..f57f7ae9 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -221,7 +221,7 @@ command_t* register_command(command_context_t *context, command_t *parent, char free((void *)full_name); /* we now need to add an overrideable proc */ - const char *override_name=alloc_printf("proc %s%s%s {args} {if {[catch {eval \"ocd_%s%s%s $args\"}]==0} {return \"\"} else { return -code error }", t1, t2, t3, t1, t2, t3); + const char *override_name=alloc_printf("proc %s%s%s {args} {if {[catch {eval ocd_%s%s%s $args}]==0} {return \"\"} else { return -code error }", t1, t2, t3, t1, t2, t3); Jim_Eval_Named(interp, override_name, __THIS__FILE__, __LINE__ ); free((void *)override_name); |