Rev 1345: Fix another hardcoded pointer size. in http://people.samba.org/bzr/jelmer/bzr-svn/0.4

Jelmer Vernooij jelmer at samba.org
Tue Jun 24 15:24:10 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/0.4

------------------------------------------------------------
revno: 1345
revision-id: jelmer at samba.org-20080624142409-5wf24sdzd65dkj21
parent: jelmer at samba.org-20080624141404-4483g4eov6rn2tbt
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Tue 2008-06-24 16:24:09 +0200
message:
  Fix another hardcoded pointer size.
modified:
  client.c                       client.pyx-20080313235339-wbyjbw2namuiql8f-1
=== modified file 'client.c'
--- a/client.c	2008-06-24 11:17:43 +0000
+++ b/client.c	2008-06-24 14:24:09 +0000
@@ -261,7 +261,7 @@
 	Py_XDECREF(client->py_auth);
 
 	if (auth == Py_None) {
-		auth_providers = apr_array_make(client->pool, 0, 4);
+		auth_providers = apr_array_make(client->pool, 0, sizeof(svn_auth_provider_object_t *));
 		if (auth_providers == NULL) {
 			PyErr_NoMemory();
 			return 1;




More information about the bazaar-commits mailing list