Add typos.patch
tony mancill
2 years ago
0 | Description: Correct spelling errors | |
1 | Author: tony mancill <tmancill@debian.org> | |
2 | ||
3 | --- a/src/flamp.cxx | |
4 | +++ b/src/flamp.cxx | |
5 | @@ -841,7 +841,7 @@ | |
6 | int use_forced_comp_on_file = 0; | |
7 | ||
8 | if(rx != NULL && !rAmp->rx_completed()) { | |
9 | - fl_alert2("Only completed files can be transfered"); | |
10 | + fl_alert2("Only completed files can be transferred"); | |
11 | return; | |
12 | } | |
13 | ||
14 | @@ -1077,7 +1077,7 @@ | |
15 | count = fl_filename_list(flamp_xmt_dir.c_str(), &list); | |
16 | ||
17 | if (!count) { | |
18 | - LOG_INFO("%s directoy not found or empty", flamp_xmt_dir.c_str()); | |
19 | + LOG_INFO("%s directory not found or empty", flamp_xmt_dir.c_str()); | |
20 | fl_filename_free_list(&list, count); | |
21 | return; | |
22 | } | |
23 | @@ -1747,7 +1747,7 @@ | |
24 | size_t fsize = amp->rx_size(); | |
25 | ||
26 | if(xfrFlag && !amp->rx_completed()) { | |
27 | - fl_alert2("Only completed files can be transfered"); | |
28 | + fl_alert2("Only completed files can be transferred"); | |
29 | return; | |
30 | } | |
31 | ||
32 | --- a/src/utils/script_parsing.cxx | |
33 | +++ b/src/utils/script_parsing.cxx | |
34 | @@ -639,7 +639,7 @@ | |
35 | diff = strncmp(cmd_buffer, _script_command_table[index].command, MAX_COMMAND_LENGTH); | |
36 | if(diff == 0) { | |
37 | if(_script_command_table[index].cb) | |
38 | - LOG_INFO("Over writing call back funcion for \"%s\"", cmd_buffer); | |
39 | + LOG_INFO("Over writing call back function for \"%s\"", cmd_buffer); | |
40 | _script_command_table[index].cb = cb; | |
41 | break; | |
42 | } | |
43 | --- a/src/utils/transmit_camp.cxx | |
44 | +++ b/src/utils/transmit_camp.cxx | |
45 | @@ -335,9 +335,9 @@ | |
46 | fprintf(fd, ", "); | |
47 | ||
48 | if(index < ' ') | |
49 | - LOG_DEBUG("Charater \'%d (%X)\' Transmit time in seconds=%f", (index & 0xff), (index & 0xff), time_seconds); | |
50 | + LOG_DEBUG("Character \'%d (%X)\' Transmit time in seconds=%f", (index & 0xff), (index & 0xff), time_seconds); | |
51 | else | |
52 | - LOG_DEBUG("Charater \'%c\' Transmit time in seconds=%f", (index & 0xff), time_seconds); | |
53 | + LOG_DEBUG("Character \'%c\' Transmit time in seconds=%f", (index & 0xff), time_seconds); | |
54 | ||
55 | fflush(fd); | |
56 |