Changeset 9d4352c
- Timestamp:
- 2010-04-20T23:03:01Z (15 years ago)
- Branches:
- master
- Children:
- 2272cb3
- Parents:
- e7edbb7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
dcc.c
re7edbb7 r9d4352c 78 78 file->file_name = g_strdup( file_name ); 79 79 file->local_id = local_transfer_id++; 80 df->ic = ic;80 file->ic = df->ic = ic; 81 81 df->ft = file; 82 82 -
protocols/ft.h
re7edbb7 r9d4352c 107 107 */ 108 108 gpointer data; 109 struct im_connection *ic; 109 110 110 111 /* -
root_commands.c
re7edbb7 r9d4352c 964 964 } 965 965 966 #if 0967 966 static void cmd_qlist( irc_t *irc, char **cmd ) 968 967 { … … 985 984 } 986 985 986 #if 0 987 987 static set_t **cmd_chat_set_findhead( irc_t *irc, char *id ) 988 988 { … … 1096 1096 } 1097 1097 } 1098 #endif 1098 1099 1099 1100 static void cmd_transfer( irc_t *irc, char **cmd ) … … 1145 1146 { 1146 1147 irc_usermsg( irc, "Rejecting file transfer for %s", file->file_name ); 1147 imcb_file_canceled( file , "Denied by user" );1148 imcb_file_canceled( file->ic, file, "Denied by user" ); 1148 1149 } 1149 1150 break; … … 1152 1153 { 1153 1154 irc_usermsg( irc, "Canceling file transfer for %s", file->file_name ); 1154 imcb_file_canceled( file , "Canceled by user" );1155 imcb_file_canceled( file->ic, file, "Canceled by user" ); 1155 1156 } 1156 1157 break; … … 1158 1159 } 1159 1160 } 1160 #endif1161 1161 1162 1162 /* IMPORTANT: Keep this list sorted! The short command logic needs that. */ … … 1166 1166 { "blist", 0, cmd_blist, 0 }, 1167 1167 { "drop", 1, cmd_drop, 0 }, 1168 { "ft", 0, cmd_transfer, 0 }, 1168 1169 { "help", 0, cmd_help, 0 }, 1169 1170 { "identify", 1, cmd_identify, 0 }, 1170 1171 { "info", 1, cmd_info, 0 }, 1171 1172 { "no", 0, cmd_yesno, 0 }, 1173 { "qlist", 0, cmd_qlist, 0 }, 1172 1174 { "register", 1, cmd_register, 0 }, 1173 1175 { "remove", 1, cmd_remove, 0 }, … … 1175 1177 { "save", 0, cmd_save, 0 }, 1176 1178 { "set", 0, cmd_set, 0 }, 1179 { "transfer", 0, cmd_transfer, 0 }, 1177 1180 { "yes", 0, cmd_yesno, 0 }, 1178 1181 #if 0 … … 1180 1183 { "block", 1, cmd_block, 0 }, 1181 1184 { "chat", 1, cmd_chat, 0 }, 1182 { "ft", 0, cmd_transfer, 0 },1183 { "qlist", 0, cmd_qlist, 0 },1184 { "transfer", 0, cmd_transfer, 0 },1185 1185 #endif 1186 1186 { NULL }
Note: See TracChangeset
for help on using the changeset viewer.