diff -u amsn-0.95/debian/changelog amsn-0.95/debian/changelog --- amsn-0.95/debian/changelog +++ amsn-0.95/debian/changelog @@ -1,3 +1,10 @@ +amsn (0.95-1ubuntu0.1) dapper-proposed; urgency=low + + * Applied patch from upstream svn rev. 10261 fixing login issue due to + protocol change, modified to have MSNP9 and MSNP11 (LP: #243722) + + -- Adrien Cunin Wed, 06 Aug 2008 23:02:47 +0200 + amsn (0.95-1) unstable; urgency=low * New Upstream Release (closes: #345052, #278575). only in patch2: unchanged: --- amsn-0.95.orig/protocol.tcl +++ amsn-0.95/protocol.tcl @@ -4472,10 +4472,18 @@ } v { + + if { [::config::getKey protocol] == 11 } { + set ver "MSNP11" + } else { + set ver "MSNP9" + } + if {[lindex $recv 0] != "VER"} { status_log "cmsn_auth: was expecting VER reply but got a [lindex $recv 0]\n" red return 1 - } elseif {[lsearch -exact $recv "CVR0"] != -1} { + } elseif {[lsearch -exact $recv $ver] != -1} { + status_log "Logged in with protocol $ver" #::MSN::WriteSB ns "CVR" "0x0409 winnt 6.0 i386 MSNMSGR 6.0.0602 MSMSGS [::config::getKey login]" ns configure -stat "i" return 0