[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OpenVerse] Bug in user cancel of a room download
It looks like the new code prevents you from changing rooms if you have a
room download in progress. But, if you click on that download and then
click "End Download", you can no longer change rooms at all. The following
patch fixes this by changing "proc endDCC". It could probably be done
better; I haven't checked to see if a failed room download causes the same
condition.
cd /usr/lib;patch -p0 <<EOF
*** OpenVerse/lib/IOFuncs.tcl.org Fri Jan 14 11:34:00 2000
--- OpenVerse/lib/IOFuncs.tcl Fri Jan 14 11:34:52 2000
***************
*** 1147,1150 ****
--- 1147,1153 ----
catch {close $MV(DCC.$index.server)}
}
+ if {$type == "Cancel" && $MV(DCC.$index.type) == "ROOM"} {
+ set MV(downloadingroom) 0
+ }
if {$type == "Get"} {
switch -exact -- $MV(DCC.$index.type) {
EOF
----------------------------------------------------------
To unsubscribe to the OpenVerse mailing list send a message to
openverse-request with the following word in the BODY of the message.
UNSUBSCRIBE
If you need assistance from a human, email cruise@openverse.org
----------------------------------------------------------