summaryrefslogtreecommitdiff
path: root/src/server/httpd.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-13 00:34:10 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-13 00:34:10 +0000
commitf7afcfe23fe6edba0ddc755db47a71855af047fa (patch)
tree262f06e2a7e8f62ba7656aa036c8e064996eebcc /src/server/httpd.c
parentd0a300e0a07bce4039eae1852a6fc28160d63a03 (diff)
downloadopenocd+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.c')
0 files changed, 0 insertions, 0 deletions