Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[fixes #1] Fix installation issues #3

Closed
wants to merge 1 commit into from

2 participants

@kunev
  • Included algorithm to fix missing std::transformer error
  • Removed erroneous CurlClient namespace usage
@kunev kunev [fixes #1] Fix installation issues
* Included `algorithm` to fix missing std::transformer error
* Removed erroneous CurlClient namespace usage
97da55c
@rfrench
Owner

Really sorry this took so long to fix, but it's been fixed.

@rfrench rfrench closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 28, 2012
  1. @kunev

    [fixes #1] Fix installation issues

    kunev authored
    * Included `algorithm` to fix missing std::transformer error
    * Removed erroneous CurlClient namespace usage
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/curler.cc
View
3  src/curler.cc
@@ -3,6 +3,7 @@
#include <v8.h>
#include <node.h>
#include <curl/curl.h>
+#include <algorithm>
#include "curl_client.h"
using namespace std;
@@ -132,7 +133,7 @@ class Curler: ObjectWrap
static int RequestWorker (eio_req *req) {
request_thread_data *rtd = static_cast<request_thread_data *> (req->data);
- CurlClient::CurlClient* curlClient = new CurlClient::CurlClient();
+ CurlClient* curlClient = new CurlClient();
rtd->response = curlClient->Request(rtd->request);
delete curlClient;
Something went wrong with that request. Please try again.