subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r1135913 - /subversion/trunk/subversion/libsvn_ra_serf/util.c
Date Wed, 15 Jun 2011 04:03:39 GMT
Author: gstein
Date: Wed Jun 15 04:03:39 2011
New Revision: 1135913

URL: http://svn.apache.org/viewvc?rev=1135913&view=rev
Log:
No logical change. Whitespace only.

* subversion/libsvn_ra_serf/util.c:
  (conn_setup): remove comments about unsupported serf version. fix
    indentation, add some braces, and wrap long lines.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/util.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1135913&r1=1135912&r2=1135913&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Wed Jun 15 04:03:39 2011
@@ -280,8 +280,6 @@ conn_setup(apr_socket_t *sock,
 {
   svn_ra_serf__connection_t *conn = baton;
 
-  /* While serf < 0.4.0 is supported we should set read_bkt even when
-     we have an error. See svn_ra_serf__conn_setup() */
   *read_bkt = serf_context_bucket_socket_create(conn->session->context,
                                                sock, conn->bkt_alloc);
 
@@ -317,10 +315,13 @@ conn_setup(apr_socket_t *sock,
             }
         }
 
-    if (write_bkt) /* = Serf >= 0.4.0, see svn_ra_serf__conn_setup() */
-      /* output stream */
-      *write_bkt = serf_bucket_ssl_encrypt_create(*write_bkt, conn->ssl_context,
-                                                  conn->bkt_alloc);
+      if (write_bkt)
+        {
+          /* output stream */
+          *write_bkt = serf_bucket_ssl_encrypt_create(*write_bkt,
+                                                      conn->ssl_context,
+                                                      conn->bkt_alloc);
+        }
     }
 
   return SVN_NO_ERROR;



Mime
View raw message