diff options
author | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-03 02:26:49 +0000 |
---|---|---|
committer | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-03 02:26:49 +0000 |
commit | edce577b230009b7dd4e937d8d99ab49c06cd5d2 (patch) | |
tree | a0d65472c6fd76ad45fd57659e13e908c3ed53e1 /native_client_sdk | |
parent | 82faf5ea428558d05081b2d0dd308f1832b37c5b (diff) | |
download | chromium_src-edce577b230009b7dd4e937d8d99ab49c06cd5d2.zip chromium_src-edce577b230009b7dd4e937d8d99ab49c06cd5d2.tar.gz chromium_src-edce577b230009b7dd4e937d8d99ab49c06cd5d2.tar.bz2 |
Fix typo, "recieve" -> "receive", in NaCl/SDK code
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/262803014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
3 files changed, 6 insertions, 6 deletions
diff --git a/native_client_sdk/src/examples/api/socket/index.html b/native_client_sdk/src/examples/api/socket/index.html index eefe5eb..277f4e0 100644 --- a/native_client_sdk/src/examples/api/socket/index.html +++ b/native_client_sdk/src/examples/api/socket/index.html @@ -23,7 +23,7 @@ found in the LICENSE file. First set a server address in the form of 'hostname:port', then push the "Connect" button to establish a connection.<br> "Send" button sends the message of the text area to the the remote host. - Any data recieved back will be output to the status log.<br> + Any data received back will be output to the status log.<br> For example, try connecting to a TCP echo server that will reply with whatever bytes you send, or connect to a web server and send a GET request.<br> diff --git a/native_client_sdk/src/examples/tutorial/using_ppapi_simple/example.js b/native_client_sdk/src/examples/tutorial/using_ppapi_simple/example.js index 03b9a4e..6f02afd 100644 --- a/native_client_sdk/src/examples/tutorial/using_ppapi_simple/example.js +++ b/native_client_sdk/src/examples/tutorial/using_ppapi_simple/example.js @@ -13,7 +13,7 @@ function moduleDidLoad() { // - exit message (prefixed with PS_EXIT_MESSAGE) function handleMessage(message) { if (message.data.indexOf("exit:") == 0) { - // When we recieve the exit message we post an empty reply back to + // When we receive the exit message we post an empty reply back to // confirm, at which point the module will exit. message.srcElement.postMessage({"exit" : ""}); } else if (message.data.indexOf("tty:") == 0) { diff --git a/native_client_sdk/src/tests/nacl_io_test/tty_test.cc b/native_client_sdk/src/tests/nacl_io_test/tty_test.cc index de9e978..1cfafb1 100644 --- a/native_client_sdk/src/tests/nacl_io_test/tty_test.cc +++ b/native_client_sdk/src/tests/nacl_io_test/tty_test.cc @@ -238,9 +238,9 @@ TEST_F(TtyTest, TtyICANON) { ASSERT_EQ(0, IsReadable(tty_fd)); } -static int g_recieved_signal; +static int g_received_signal; -static void sighandler(int sig) { g_recieved_signal = sig; } +static void sighandler(int sig) { g_received_signal = sig; } TEST_F(TtyTest, WindowSize) { // Get current window size @@ -252,14 +252,14 @@ TEST_F(TtyTest, WindowSize) { sighandler_t old_handler = ki_signal(SIGWINCH, new_handler); ASSERT_NE(SIG_ERR, old_handler) << "signal return error: " << errno; - g_recieved_signal = 0; + g_received_signal = 0; // Set a new windows size struct winsize winsize; winsize.ws_col = 100; winsize.ws_row = 200; EXPECT_EQ(0, dev_tty_->Ioctl(TIOCSWINSZ, &winsize)); - EXPECT_EQ(SIGWINCH, g_recieved_signal); + EXPECT_EQ(SIGWINCH, g_received_signal); // Restore old signal handler EXPECT_EQ(new_handler, ki_signal(SIGWINCH, old_handler)); |