Index: trunk/FACT++/src/InterpreterV8.cc
===================================================================
--- trunk/FACT++/src/InterpreterV8.cc	(revision 19826)
+++ trunk/FACT++/src/InterpreterV8.cc	(revision 19827)
@@ -2743,5 +2743,5 @@
 #ifdef HAVE_CURL
     Handle<FunctionTemplate> curl = FunctionTemplate::New(ConstructorCurl);
-    mail->SetClassName(String::New("Curl"));
+    curl->SetClassName(String::New("Curl"));
     global->Set(String::New("Curl"), curl, ReadOnly);
 #endif
