Fix spelling in comments and debug messages (recieve -> receive)

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Reviewed-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
Stefan Weil 2011-08-28 21:45:40 +02:00 committed by Stefan Hajnoczi
parent 11d6dded8e
commit 2542bfd51c
3 changed files with 3 additions and 3 deletions

View File

@ -229,7 +229,7 @@ in the schema. The following files are generated:
$(prefix)qmp-marshal.c: command marshal/dispatch functions for each $(prefix)qmp-marshal.c: command marshal/dispatch functions for each
QMP command defined in the schema. Functions QMP command defined in the schema. Functions
generated by qapi-visit.py are used to generated by qapi-visit.py are used to
convert QObjects recieved from the wire into convert QObjects received from the wire into
function parameters, and uses the same function parameters, and uses the same
visitor functions to convert native C return visitor functions to convert native C return
values to QObjects from transmission back values to QObjects from transmission back

View File

@ -585,7 +585,7 @@ main(
printf(" recv APDU: "); printf(" recv APDU: ");
print_byte_array(pbSendBuffer, mhHeader.length); print_byte_array(pbSendBuffer, mhHeader.length);
} }
/* Transmit recieved APDU */ /* Transmit received APDU */
dwSendLength = mhHeader.length; dwSendLength = mhHeader.length;
dwRecvLength = sizeof(pbRecvBuffer); dwRecvLength = sizeof(pbRecvBuffer);
reader = vreader_get_reader_by_id(mhHeader.reader_id); reader = vreader_get_reader_by_id(mhHeader.reader_id);

View File

@ -51,7 +51,7 @@ static struct GAState *ga_state;
static void quit_handler(int sig) static void quit_handler(int sig)
{ {
g_debug("recieved signal num %d, quitting", sig); g_debug("received signal num %d, quitting", sig);
if (g_main_loop_is_running(ga_state->main_loop)) { if (g_main_loop_is_running(ga_state->main_loop)) {
g_main_loop_quit(ga_state->main_loop); g_main_loop_quit(ga_state->main_loop);