summaryrefslogtreecommitdiff
path: root/project2/json
diff options
context:
space:
mode:
Diffstat (limited to 'project2/json')
-rw-r--r--project2/json/couchSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/json/couchSession.cpp b/project2/json/couchSession.cpp
index f810486..5d964aa 100644
--- a/project2/json/couchSession.cpp
+++ b/project2/json/couchSession.cpp
@@ -46,7 +46,7 @@ class CouchSessionContainer : public SessionContainer {
c->setopt(CURLOPT_INFILESIZE_LARGE, (curl_off_t)out.size());
unsigned int off = 0;
BOOST_FOREACH(const std::string & b, baseUrls) {
- c->setopt(CURLOPT_URL, (b + s->ID.str()).c_str());
+ c->setopt(CURLOPT_URL, (b + s->ID().str()).c_str());
try {
c->performSend(boost::bind(send, &out, &off, _1, _2));
return;