| 104 } |
104 } |
| 105 |
105 |
| 106 node = node->parent; |
106 node = node->parent; |
| 107 g_return_if_fail(PURPLE_BLIST_NODE_IS_CONTACT(node)); |
107 g_return_if_fail(PURPLE_BLIST_NODE_IS_CONTACT(node)); |
| 108 |
108 |
| 109 pref = purple_prefs_get_string(PREF_PATH); |
|
| 110 switch (purple_blist_node_get_int(node, "autoaccept")) |
109 switch (purple_blist_node_get_int(node, "autoaccept")) |
| 111 { |
110 { |
| 112 case FT_ASK: |
111 case FT_ASK: |
| 113 break; |
112 break; |
| 114 case FT_ACCEPT: |
113 case FT_ACCEPT: |
| |
114 pref = purple_prefs_get_string(PREF_PATH); |
| 115 if (ensure_path_exists(pref)) |
115 if (ensure_path_exists(pref)) |
| 116 { |
116 { |
| 117 dirname = g_build_filename(pref, xfer->who, NULL); |
117 dirname = g_build_filename(pref, xfer->who, NULL); |
| 118 |
118 |
| 119 if (!ensure_path_exists(dirname)) |
119 if (!ensure_path_exists(dirname)) |