diff options
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 |