diff options
author | Noah Slater <nslater@apache.org> | 2009-07-14 20:21:39 +0000 |
---|---|---|
committer | Noah Slater <nslater@apache.org> | 2009-07-14 20:21:39 +0000 |
commit | 350811a34260baed48995c66baf1cb30021d2fbd (patch) | |
tree | 339273288be0a4da445d4f69ed94ed6c73318d67 /src/couchdb/couch_js.c | |
parent | 2ad5a154d0494373f55370aac7c4b635089da36a (diff) |
wheeeeeeee
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_js.c')
-rw-r--r-- | src/couchdb/couch_js.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/couchdb/couch_js.c b/src/couchdb/couch_js.c index 9a4a3941..b828355a 100644 --- a/src/couchdb/couch_js.c +++ b/src/couchdb/couch_js.c @@ -1,14 +1,14 @@ /* Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the +this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, either express or implied. See the License for the +CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ @@ -552,7 +552,7 @@ struct curl_slist* generateCurlHeaders(JSContext* context,jsval* arg) { while(JS_NextProperty(context,iterator,jsId) == JS_TRUE) { if(*jsId == JSVAL_VOID) { - break; + break; } // TODO: Refactor this maybe make a JSValAppendBuffer method b/c that is what you really want to do. @@ -841,7 +841,7 @@ PostHttp(JSContext *context, JSObject *obj, uintN argc, jsval *argv, jsval *rval #define CLEAN \ free_Buffer(b); \ free_Buffer(b_data->buffer); \ - free(b_data); \ + free(b_data); \ free(url) static JSBool |