Rev 1347: Simplify call. in http://people.samba.org/bzr/jelmer/bzr-svn/0.4
Jelmer Vernooij
jelmer at samba.org
Wed Jun 25 10:13:14 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/0.4
------------------------------------------------------------
revno: 1347
revision-id: jelmer at samba.org-20080625091314-ofzq6mbveo9rq9q2
parent: jelmer at samba.org-20080625091259-ocqp0clh9xw1lm9d
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Wed 2008-06-25 11:13:14 +0200
message:
Simplify call.
modified:
ra.c ra.pyx-20080313140933-qybkqaxe3m4mcll7-1
=== modified file 'ra.c'
--- a/ra.c 2008-06-24 14:14:04 +0000
+++ b/ra.c 2008-06-25 09:13:14 +0000
@@ -2109,10 +2109,8 @@
if (pool == NULL)
return NULL;
- if (!check_error(svn_txdelta_send_stream(new_py_stream(pool, stream), py_txdelta->txdelta_handler, py_txdelta->txdelta_baton, (unsigned char *)digest, pool))) {
- apr_pool_destroy(pool);
- return NULL;
- }
+ RUN_SVN_WITH_POOL(pool, svn_txdelta_send_stream(new_py_stream(pool, stream), py_txdelta->txdelta_handler, py_txdelta->txdelta_baton, (unsigned char *)digest, pool));
+
apr_pool_destroy(pool);
return PyString_FromStringAndSize((char *)digest, 16);
}
More information about the bazaar-commits
mailing list