Rev 1735: Sanitize paths in client. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Sat Nov 8 17:20:35 GMT 2008


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

------------------------------------------------------------
revno: 1735
revision-id: jelmer at samba.org-20081108172032-38r9qqnw3kh4p4iw
parent: jelmer at samba.org-20081108141622-47okgpcnc91y9vk0
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sat 2008-11-08 18:20:32 +0100
message:
  Sanitize paths in client.
modified:
  client.c                       client.pyx-20080313235339-wbyjbw2namuiql8f-1
=== modified file 'client.c'
--- a/client.c	2008-11-03 13:39:48 +0000
+++ b/client.c	2008-11-08 17:20:32 +0000
@@ -373,7 +373,7 @@
 	temp_pool = Pool(NULL);
 	if (temp_pool == NULL)
 		return NULL;
-	if (!string_list_to_apr_array(temp_pool, targets, &apr_targets)) {
+	if (!path_list_to_apr_array(temp_pool, targets, &apr_targets)) {
 		apr_pool_destroy(temp_pool);
 		return NULL;
 	}
@@ -402,7 +402,7 @@
 	temp_pool = Pool(NULL);
 	if (temp_pool == NULL)
 		return NULL;
-	if (!string_list_to_apr_array(temp_pool, paths, &apr_paths)) {
+	if (!path_list_to_apr_array(temp_pool, paths, &apr_paths)) {
 		apr_pool_destroy(temp_pool);
 		return NULL;
 	}
@@ -515,7 +515,7 @@
 	temp_pool = Pool(NULL);
 	if (temp_pool == NULL)
 		return NULL;
-	if (!string_list_to_apr_array(temp_pool, paths, &apr_paths)) {
+	if (!path_list_to_apr_array(temp_pool, paths, &apr_paths)) {
 		apr_pool_destroy(temp_pool);
 		return NULL;
 	}




More information about the bazaar-commits mailing list