diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-13 00:34:10 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-13 00:34:10 +0000 |
commit | f7afcfe23fe6edba0ddc755db47a71855af047fa (patch) | |
tree | 262f06e2a7e8f62ba7656aa036c8e064996eebcc /src/server/httpd/menu_cuts/logo_top.png | |
parent | d0a300e0a07bce4039eae1852a6fc28160d63a03 (diff) | |
download | openocd_libswd-f7afcfe23fe6edba0ddc755db47a71855af047fa.tar.gz openocd_libswd-f7afcfe23fe6edba0ddc755db47a71855af047fa.tar.bz2 openocd_libswd-f7afcfe23fe6edba0ddc755db47a71855af047fa.tar.xz openocd_libswd-f7afcfe23fe6edba0ddc755db47a71855af047fa.zip |
Cleanup and improve handle_wp_command and handle_rwp_command:
- Simplify argument parsing logic using switch statement.
- Use parse_u32 to ensure all values parse properly.
- Return syntax error when mode argument fails to parse.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2236 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server/httpd/menu_cuts/logo_top.png')
0 files changed, 0 insertions, 0 deletions