summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/client_screen.js
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-02 02:30:53 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-02 02:30:53 +0000
commit2cb978880a0efefbe2139517f5fddabfe40714cb (patch)
tree278474e2bc9a487a9f7fcc2f4b98c5b9860702d5 /remoting/webapp/client_screen.js
parent697182bc9f02ef75d6abfc7fcc7c6668f7fb94a4 (diff)
downloadchromium_src-2cb978880a0efefbe2139517f5fddabfe40714cb.zip
chromium_src-2cb978880a0efefbe2139517f5fddabfe40714cb.tar.gz
chromium_src-2cb978880a0efefbe2139517f5fddabfe40714cb.tar.bz2
Display correct error message when the client fails to establish P2P connection.
BUG=110844 Review URL: https://chromiumcodereview.appspot.com/9564025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/client_screen.js')
-rw-r--r--remoting/webapp/client_screen.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js
index 1a3e701..de025fe 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -247,7 +247,7 @@ function onClientStateChange_(oldState, newState) {
showConnectError_(remoting.Error.INCOMPATIBLE_PROTOCOL);
} else if (remoting.clientSession.error ==
remoting.ClientSession.ConnectionError.NETWORK_FAILURE) {
- showConnectError_(remoting.Error.GENERIC);
+ showConnectError_(remoting.Error.NETWORK_FAILURE);
} else {
showConnectError_(remoting.Error.GENERIC);
}