diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:38:12 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:38:12 +0000 |
commit | 53d605e12c3765aeedabf2bfe0c5cc338dc95d5a (patch) | |
tree | 574d59fe89c1af06fbc67b38cb2d0a3f9a6ef1d7 /src/server/httpd.c | |
parent | 5e98c71436569d39ac9fe0fb66910f28c0e531f8 (diff) | |
download | riscv-openocd-53d605e12c3765aeedabf2bfe0c5cc338dc95d5a.zip riscv-openocd-53d605e12c3765aeedabf2bfe0c5cc338dc95d5a.tar.gz riscv-openocd-53d605e12c3765aeedabf2bfe0c5cc338dc95d5a.tar.bz2 |
- Fixes '!=' whitespace
- Replace ')\(!=\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\(!=\)(' with '\1 \2 ('.
- Replace '\(\w\)\(!=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2363 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server/httpd.c')
-rw-r--r-- | src/server/httpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/httpd.c b/src/server/httpd.c index 2005a29..c19dc2b 100644 --- a/src/server/httpd.c +++ b/src/server/httpd.c @@ -142,7 +142,7 @@ httpd_Jim_Command_formfetch(Jim_Interp *interp, int argc, Jim_Obj *const *argv) { - if (argc!=2) + if (argc != 2) { Jim_WrongNumArgs(interp, 1, argv, "method ?args ...?"); return JIM_ERR; @@ -202,7 +202,7 @@ static void append_key(struct httpd_request *r, const char *key, Jim_Obj *dict = Jim_GetVariableStr(interp, "httppostdata", 0); - if (dict!=NULL) + if (dict != NULL) { if (Jim_DictKey(interp, dict, keyObj, &value, 0) != JIM_OK) { |