@@ -1821,7 +1821,8 @@ infd_directory_create_session_proxy(InfdDirectory* directory,
18211821 InfSessionStatus status ,
18221822 InfCommunicationHostedGroup * sync_g ,
18231823 InfXmlConnection * sync_conn ,
1824- InfCommunicationHostedGroup * sub_g )
1824+ InfCommunicationHostedGroup * sub_g ,
1825+ const char * path )
18251826{
18261827 InfdDirectoryPrivate * priv ;
18271828 InfSession * session ;
@@ -1837,6 +1838,7 @@ infd_directory_create_session_proxy(InfdDirectory* directory,
18371838 status ,
18381839 INF_COMMUNICATION_GROUP (sync_g ),
18391840 sync_conn ,
1841+ path ,
18401842 plugin -> user_data
18411843 );
18421844
@@ -3910,6 +3912,7 @@ infd_directory_add_subreq_add_node(InfdDirectory* directory,
39103912{
39113913 InfdDirectorySubreq * subreq ;
39123914 InfdSessionProxy * proxy ;
3915+ gchar * path ;
39133916 gboolean ensured ;
39143917
39153918 if (session != NULL )
@@ -3922,14 +3925,19 @@ infd_directory_add_subreq_add_node(InfdDirectory* directory,
39223925 }
39233926 else
39243927 {
3928+ infd_directory_node_make_path (parent , name , & path , NULL );
3929+
39253930 proxy = infd_directory_create_session_proxy (
39263931 directory ,
39273932 plugin ,
39283933 INF_SESSION_RUNNING ,
39293934 NULL ,
39303935 NULL ,
3931- group
3936+ group ,
3937+ path
39323938 );
3939+
3940+ g_free (path );
39333941 }
39343942
39353943 ensured = infd_directory_session_proxy_ensure (
@@ -3982,8 +3990,11 @@ infd_directory_add_subreq_sync_in(InfdDirectory* directory,
39823990{
39833991 InfdDirectorySubreq * subreq ;
39843992 InfdSessionProxy * proxy ;
3993+ gchar * path ;
39853994 gboolean ensured ;
39863995
3996+ infd_directory_node_make_path (parent , name , & path , NULL );
3997+
39873998 /* Keep proxy in PRESYNC state, until we have the confirmation from the
39883999 * remote site that the chosen method is OK and we can go on. */
39894000 proxy = infd_directory_create_session_proxy (
@@ -3992,9 +4003,12 @@ infd_directory_add_subreq_sync_in(InfdDirectory* directory,
39924003 INF_SESSION_PRESYNC ,
39934004 sync_group ,
39944005 connection ,
3995- sub_group
4006+ sub_group ,
4007+ path
39964008 );
39974009
4010+ g_free (path );
4011+
39984012 ensured = infd_directory_session_proxy_ensure (
39994013 directory ,
40004014 parent ,
@@ -4542,6 +4556,7 @@ infd_directory_node_add_note(InfdDirectory* directory,
45424556 const gchar * method ;
45434557 InfdDirectorySubreq * subreq ;
45444558 InfdSessionProxy * proxy ;
4559+ gchar * path ;
45454560 gboolean ensured ;
45464561 GError * local_error ;
45474562
@@ -4648,14 +4663,19 @@ infd_directory_node_add_note(InfdDirectory* directory,
46484663 }
46494664 else
46504665 {
4666+ infd_directory_node_make_path (parent , name , & path , NULL );
4667+
46514668 proxy = infd_directory_create_session_proxy (
46524669 directory ,
46534670 plugin ,
46544671 INF_SESSION_RUNNING ,
46554672 NULL ,
46564673 NULL ,
4657- group
4674+ group ,
4675+ path
46584676 );
4677+
4678+ g_free (path );
46594679 }
46604680
46614681 ensured = infd_directory_session_proxy_ensure (
0 commit comments