← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3319: [ADC] Send the LC (locale) parameter in INF

 

------------------------------------------------------------
revno: 3319
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Tue 2013-06-25 20:07:13 +0200
message:
  [ADC] Send the LC (locale) parameter in INF
modified:
  changelog.txt
  dcpp/AdcHub.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt	2013-06-25 15:45:51 +0000
+++ changelog.txt	2013-06-25 18:07:13 +0000
@@ -1,6 +1,7 @@
 * Translation fixes
 * [L#1194299] Prevent races when sending INF/MyINFO (maksis, poy)
 * [L#1194299] Prevent races when closing a connection (maksis, poy)
+* [ADC] Send the LC (locale) parameter in INF
 
 -- 0.825 2013-06-18 --
 * [L#1191099] Group partial file list uploads to avoid a crash (poy)

=== modified file 'dcpp/AdcHub.cpp'
--- dcpp/AdcHub.cpp	2013-06-25 11:26:24 +0000
+++ dcpp/AdcHub.cpp	2013-06-25 18:07:13 +0000
@@ -1012,6 +1012,8 @@
 		addParam(lastInfoMap, c, "US", Util::toString((long)(Util::toDouble(SETTING(UPLOAD_SPEED))*1024*1024/8)));
 	}
 
+	addParam(lastInfoMap, c, "LC", Util::getIETFLang());
+
 	string su(SEGA_FEATURE);
 
 	if(CryptoManager::getInstance()->TLSOk()) {