summaryrefslogtreecommitdiff
path: root/src/helper/command.c
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-06-05 14:36:39 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-06-05 14:36:39 +0000
commit335f667d4433e8ca3a57e813fd128b78d8b364d2 (patch)
tree1d8eb897cb227fb38ed876e91d81fa7382cc565a /src/helper/command.c
parent8b4e882a1630d63bbc9840fa3f968e36b6ac3702 (diff)
downloadopenocd_libswd-335f667d4433e8ca3a57e813fd128b78d8b364d2.tar.gz
openocd_libswd-335f667d4433e8ca3a57e813fd128b78d8b364d2.tar.bz2
openocd_libswd-335f667d4433e8ca3a57e813fd128b78d8b364d2.tar.xz
openocd_libswd-335f667d4433e8ca3a57e813fd128b78d8b364d2.zip
- fixed some spelling errors (thanks to Andrew Dyer)
git-svn-id: svn://svn.berlios.de/openocd/trunk@67 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/command.c')
-rw-r--r--src/helper/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index 26eada62..00d4b356 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -33,7 +33,7 @@
int handle_sleep_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
-int build_unique_lenghts(command_context_t *context, command_t *commands)
+int build_unique_lengths(command_context_t *context, command_t *commands)
{
command_t *c, *p;
@@ -64,7 +64,7 @@ int build_unique_lenghts(command_context_t *context, command_t *commands)
/* if the current command has children, build the unique lengths for them */
if (c->children)
- build_unique_lenghts(context, c->children);
+ build_unique_lengths(context, c->children);
}
return ERROR_OK;
@@ -122,7 +122,7 @@ command_t* register_command(command_context_t *context, command_t *parent, char
}
/* update unique lengths */
- build_unique_lenghts(context, (parent) ? parent : context->commands);
+ build_unique_lengths(context, (parent) ? parent : context->commands);
return c;
}