diff --git a/COPYING b/COPYING index 0dbad09..e6f33de 100644 --- a/COPYING +++ b/COPYING @@ -8,7 +8,7 @@ This software was written by: This software is licensed under the terms of the LGPL. Please see each source file for the related copyright notice and license. -If a file does not contain a copright notice, the following notice shall apply: +If a file does not contain a copyright notice, the following notice shall apply: MiracleCast - Wifi-Display/Miracast Implementation diff --git a/res/normal-wifi.sh b/res/normal-wifi.sh index 1e03201..30c5615 100755 --- a/res/normal-wifi.sh +++ b/res/normal-wifi.sh @@ -10,7 +10,7 @@ ETHER_COUNT=$(echo "$ETHER_NAMES" | wc -l) if [ 0 = $ETHER_COUNT ] then - echo There is no net devices avaliable + echo There is no net devices available exit 1 elif [ 1 = $ETHER_COUNT ] then diff --git a/res/write-udev-rule.sh b/res/write-udev-rule.sh index 6786dc9..73095da 100755 --- a/res/write-udev-rule.sh +++ b/res/write-udev-rule.sh @@ -8,7 +8,7 @@ ETHER_COUNT=$(echo "$ETHER_NAMES" | wc -l) if [ 0 = $ETHER_COUNT ] then - echo There is no net devices avaliable + echo There is no net devices available exit 1 elif [ 1 = $ETHER_COUNT ] then diff --git a/src/ctl/sinkctl.c b/src/ctl/sinkctl.c index 3078f68..3edafee 100644 --- a/src/ctl/sinkctl.c +++ b/src/ctl/sinkctl.c @@ -712,7 +712,7 @@ void cli_fn_help() printf("%s [OPTIONS...] ...\n\n" "Control a dedicated local sink via MiracleCast.\n" " -h --help Show this help\n" - " --help-commands Show avaliable commands\n" + " --help-commands Show available commands\n" " --version Show package version\n" " --log-level Maximum level for log messages\n" " --log-journal-level Maximum level for journal log messages\n" @@ -726,7 +726,7 @@ void cli_fn_help() " default CEA %08X\n" " default VESA %08X\n" " default HH %08X\n" - " --help-res Shows avaliable values for res\n" + " --help-res Shows available values for res\n" "\n" , program_invocation_short_name, gst_audio_en, DEFAULT_RSTP_PORT, wfd_supported_res_cea, wfd_supported_res_vesa, wfd_supported_res_hh diff --git a/src/ctl/wifictl.c b/src/ctl/wifictl.c index faf7880..d862b9c 100644 --- a/src/ctl/wifictl.c +++ b/src/ctl/wifictl.c @@ -478,7 +478,7 @@ void cli_fn_help() "Send control command to or query the MiracleCast Wifi-Manager. If no arguments\n" "are given, an interactive command-line tool is provided.\n\n" " -h --help Show this help\n" - " --help-commands Show avaliable commands\n" + " --help-commands Show available commands\n" " --version Show package version\n" " --log-level Maximum level for log messages\n" " --log-journal-level Maximum level for journal log messages\n" diff --git a/src/dhcp/dhcp.c b/src/dhcp/dhcp.c index 6838ae9..83e7295 100644 --- a/src/dhcp/dhcp.c +++ b/src/dhcp/dhcp.c @@ -35,7 +35,7 @@ * of Wifi-P2P support in common network managers. Once they gain proper * support, we will drop this helper! * - * The "ip" invokation is quite fragile and ugly. However, performing these + * The "ip" invocation is quite fragile and ugly. However, performing these * steps directly involves netlink operations and more. As no-one came up with * patches, yet, we keep the hack. To anyone trying to fix it: Please, spend * this time hacking on NetworkManager, connman and friends instead! If they diff --git a/src/shared/shl_util.c b/src/shared/shl_util.c index 1d3f662..2417624 100644 --- a/src/shared/shl_util.c +++ b/src/shared/shl_util.c @@ -31,7 +31,7 @@ * variants to allow these. * Base-prefix parsing is only done if base=0 is requested. Otherwise, * base-prefixes are forbidden. - * The input string must be ASCII compatbile (which includes UTF8). + * The input string must be ASCII compatible (which includes UTF8). * * We also always check for overflows and return errors (but continue parsing!) * so callers can catch it correctly. diff --git a/src/uibc/miracle-uibcctl.c b/src/uibc/miracle-uibcctl.c index 2c8835b..3aee587 100644 --- a/src/uibc/miracle-uibcctl.c +++ b/src/uibc/miracle-uibcctl.c @@ -314,7 +314,7 @@ void getUIBCGenericKeyPacket(const char *inEventDesc, typeId = atoi(*(splitedStr + i)); log_info("getUIBCGenericKeyPacket typeId=[%d]\n", typeId); genericPacketLen = 5; - uibcBodyLen = genericPacketLen + 7; // Generic header legth = 7 + uibcBodyLen = genericPacketLen + 7; // Generic header length = 7 outData = (char*)malloc(uibcBodyLen + 1); // UIBC header outData[0] = 0x00; //Version (3 bits),T (1 bit),Reserved(8 bits),Input Category (4 bits) diff --git a/src/wifi/wifid-dbus.c b/src/wifi/wifid-dbus.c index 8aed6f4..a856cd2 100644 --- a/src/wifi/wifid-dbus.c +++ b/src/wifi/wifid-dbus.c @@ -938,7 +938,7 @@ int manager_dbus_connect(struct manager *m) r = sd_bus_request_name(m->bus, "org.freedesktop.miracle.wifi", 0); if (r < 0) { if (r == -EEXIST) { - log_info("cannot claim org.freedesktop.miracle.wifi bus-name: it is already being adquired"); + log_info("cannot claim org.freedesktop.miracle.wifi bus-name: it is already being acquired"); } else { log_error("cannot claim org.freedesktop.miracle.wifi bus-name: %d", r); diff --git a/src/wifi/wifid-supplicant.c b/src/wifi/wifid-supplicant.c index 0f8f728..7679d7f 100644 --- a/src/wifi/wifid-supplicant.c +++ b/src/wifi/wifid-supplicant.c @@ -884,7 +884,7 @@ static void supplicant_parse_peer(struct supplicant *s, /* TODO: wfd_dev_info only contains the dev-info sub-elem, * while wfd_sublemens contains all. Fix that! The user has no * chance to distinguish both. - * We currently use it only as boolen (set/unset) but once we + * We currently use it only as boolean (set/unset) but once we * parse it we _definitely_ have to provide proper data. */ r = wpas_message_dict_read(m, "wfd_dev_info", 's', &val); if (r >= 0) { @@ -2219,7 +2219,7 @@ static int supplicant_global_attach_fn(struct wpas *w, * Devices with P2P_DEVICE support (instead of direct P2P_GO/CLIENT * support) are broken with a *lot* of wpa_supplicant versions on the * global interface. Therefore, try to open the p2p-dev-* interface - * after the global-ATTACH succeded (which means the iface is properly + * after the global-ATTACH succeeded (which means the iface is properly * set up). If this works, use the p2p-dev-* interface, otherwise, just * copy the global interface over to bus_dev. * Event-forwarding is broken on the global-interface in such cases,