Update of /cvsroot/boost/boost/boost/asio/ssl/detail
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21211/boost/asio/ssl/detail

Modified Files:
        openssl_context_service.hpp openssl_operation.hpp 
Log Message:
Remove the error::success constant since with the new error_code stuff
there is no unique value for success.


Index: openssl_context_service.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/asio/ssl/detail/openssl_context_service.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- openssl_context_service.hpp 8 Nov 2006 05:32:12 -0000       1.4
+++ openssl_context_service.hpp 17 Nov 2006 11:28:18 -0000      1.5
@@ -361,7 +361,7 @@
     SSL_CTX_set_default_passwd_cb(impl,
         &openssl_context_service::password_callback);
 
-    ec = boost::asio::error::success;
+    ec = boost::system::error_code();
     return ec;
   }
 

Index: openssl_operation.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/ssl/detail/openssl_operation.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- openssl_operation.hpp       8 Nov 2006 05:32:12 -0000       1.4
+++ openssl_operation.hpp       17 Nov 2006 11:28:18 -0000      1.5
@@ -157,7 +157,7 @@
 
     if (is_shut_down_sent && is_shut_down_received && is_operation_done)
       // SSL connection is shut down cleanly
-      return handler_(boost::asio::error::success, 1);
+      return handler_(boost::system::error_code(), 1);
 
     if (is_shut_down_received && !is_write_needed)
       return handler_(boost::asio::error::eof, 0);
@@ -311,7 +311,7 @@
     if (is_operation_done)
     {
       // Finish the operation, with success
-      handler_(boost::asio::error::success, rc);
+      handler_(boost::system::error_code(), rc);
       return 0;
     }
     
@@ -331,7 +331,7 @@
       send_buf_.data_removed(bytes_sent);
 
       if (is_operation_done)
-        handler_(boost::asio::error::success, rc);
+        handler_(boost::system::error_code(), rc);
       else
         // Since the operation was not completed, try it again...
         start();


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to