From: Friedhelm Mehnert Date: Tue, 17 Jan 2023 20:02:00 +0100 Subject: Fix spelling in source files --- config/att-dataport-2 | 2 +- etc/faxaddmodem.sh.in | 2 +- etc/faxsetup.sh.in | 2 +- faxd/Class2.c++ | 4 ++-- faxd/Class2Poll.c++ | 2 +- faxd/Class2Send.c++ | 2 +- faxd/CopyQuality.c++ | 2 +- faxd/FaxAcctInfo.h | 2 +- faxd/STATUS.txt | 4 ++-- faxd/faxApp.c++ | 2 +- hfaxd/Jobs.c++ | 2 +- hfaxd/Parser.c++ | 4 ++-- hfaxd/SNPPServer.c++ | 4 ++-- hfaxd/main.c++ | 2 +- libhylafax/t.30.h | 2 +- rpm/hyla.conf | 2 +- 16 files changed, 20 insertions(+), 20 deletions(-) diff --git a/config/att-dataport-2 b/config/att-dataport-2 index aecff9a..811a197 100644 --- a/config/att-dataport-2 +++ b/config/att-dataport-2 @@ -80,7 +80,7 @@ NoCarrierRetrys: 3 # retry 3 times on no carrier # Class2DCCQueryCmd: "!(0,1),(0-5),(0-4),(0-2),(0),(0),(0),(0-7)" # -# There's no suport for HDLC frame tracing; silence the avoid +# There's no support for HDLC frame tracing; silence the avoid # error message so naive folks don't ask if it's a problem. # Class2BugCmd: AT+FBUG=0 diff --git a/etc/faxaddmodem.sh.in b/etc/faxaddmodem.sh.in index 1debeef..5bad3b3 100644 --- a/etc/faxaddmodem.sh.in +++ b/etc/faxaddmodem.sh.in @@ -1647,7 +1647,7 @@ AT Class2SFLOCmd \ AT Class2AbortCmd Command to abort an active session AT Class2BORCmd Command to setup data bit order AT Class2BUGCmd Command to enable HDLC frame tracing -AT Class2CIGCmd Command to set polling identifer +AT Class2CIGCmd Command to set polling identifier AT Class2CQCmd Command to setup copy quality parameters AT Class2CRCmd Command to enable receive capability AT Class2DCCCmd Command to set/constrain modem capabilities diff --git a/etc/faxsetup.sh.in b/etc/faxsetup.sh.in index 0bca05c..fb9255e 100644 --- a/etc/faxsetup.sh.in +++ b/etc/faxsetup.sh.in @@ -1735,7 +1735,7 @@ if [ -z "$faxGID" ]; then faxGID=$defPROTOGID; fi # # Add a fax user to the password file and lock the -# entry so that noone can login as the user. +# entry so that no one can login as the user. # addFaxUser() { diff --git a/faxd/Class2.c++ b/faxd/Class2.c++ index 6439719..cae753b 100644 --- a/faxd/Class2.c++ +++ b/faxd/Class2.c++ @@ -183,7 +183,7 @@ Class2Modem::setupModem(bool isSend) if (cqCmds == "" && modemCQ) modemCQ = 1; } /* - * Deduce if modem supports T.class2-defined suport for + * Deduce if modem supports T.class2-defined support for * subaddress, selective polling address, and passwords. */ int sub = 0; @@ -824,7 +824,7 @@ static struct HangupCode { {{ NULL,"130", NULL}, 261, "Remote station cannot receive (DIS bit 10)" }, {{ NULL,"131", NULL}, 262, "+FK aborted or aborted" }, {{ NULL,"132", NULL}, 263, "+Format conversion error in +FDT=DF,VR, WD,LN" - " Incompatible and inconvertable data format" }, + " Incompatible and inconvertible data format" }, {{ NULL,"133", NULL}, 264, "Remote cannot receive" }, {{ NULL,"134", NULL}, 265, "After +FDR, DCE waited more than 30 seconds for" " XON from DTE after XOFF from DTE" }, diff --git a/faxd/Class2Poll.c++ b/faxd/Class2Poll.c++ index a4bec6e..00aec5c 100644 --- a/faxd/Class2Poll.c++ +++ b/faxd/Class2Poll.c++ @@ -48,7 +48,7 @@ Class2Modem::pollBegin(const fxStr& cig, const fxStr& sep, const fxStr& pwd, Sta const char* cmdFailed = "Unable to setup %s (modem command failed)"; if (!class2Cmd(cigCmd, cig)) { // set polling ID - eresult = Status(201, cmdFailed, "polling identifer"); + eresult = Status(201, cmdFailed, "polling identifier"); return (false); } if (sep != "" && paCmd != "" && !class2Cmd(paCmd, sep)) { diff --git a/faxd/Class2Send.c++ b/faxd/Class2Send.c++ index 8379e38..00d4623 100644 --- a/faxd/Class2Send.c++ +++ b/faxd/Class2Send.c++ @@ -279,7 +279,7 @@ Class2Modem::sendPhaseB(TIFF* tif, Class2Params& next, FaxMachineInfo& info, if (!decodePPM(pph, ppm, eresult)) goto failed; if (ppm == PPH_SKIP) - protoTrace("Skiping page %d", FaxModem::getPageNumber()); + protoTrace("Skipping page %d", FaxModem::getPageNumber()); if (ppm == PPH_SKIP || (dataTransfer() && sendPage(tif, decodePageChop(pph, params), pt == PAGE_COVER))) { /* * Page transferred, process post page response from diff --git a/faxd/CopyQuality.c++ b/faxd/CopyQuality.c++ index d1f2d0f..d7af3af 100644 --- a/faxd/CopyQuality.c++ +++ b/faxd/CopyQuality.c++ @@ -745,7 +745,7 @@ FaxModem::parseJPEGStream(u_char c) if (parserCount[0] >= 4 && parserBuf[3] == 0xFF && parserBuf[2] == 0xCC) { fsize = 256*parserBuf[1]; fsize += parserBuf[0]; - copyQualityTrace("Found Define Arithmatic Coding Conditionings (DAC) Marker"); + copyQualityTrace("Found Define Arithmetic Coding Conditionings (DAC) Marker"); parserCount[1] = fsize - 4; parserCount[0] = 0; return; diff --git a/faxd/FaxAcctInfo.h b/faxd/FaxAcctInfo.h index 0732a3a..1148dd5 100644 --- a/faxd/FaxAcctInfo.h +++ b/faxd/FaxAcctInfo.h @@ -37,7 +37,7 @@ struct FaxAcctInfo { time_t start; // starting time time_t duration; // job duration (seconds) time_t conntime; // connect time (seconds) - const char* commid; // communication identifer + const char* commid; // communication identifier const char* device; // modem device const char* dest; // receiver phone number const char* csi; // remote csi diff --git a/faxd/STATUS.txt b/faxd/STATUS.txt index d7fbd7c..b517b67 100644 --- a/faxd/STATUS.txt +++ b/faxd/STATUS.txt @@ -81,7 +81,7 @@ 200-299 : Class 2-specific protocol failure =============================================================================== 200 : Unable to request polling operation (modem may not support polling) -201 : Unable to setup polling identifer (modem command failed) +201 : Unable to setup polling identifier (modem command failed) 202 : Unable to setup selective polling address (modem command failed) 203 : Unable to setup polling password (modem command failed) 204 : Unable to send password (modem command failed) @@ -143,7 +143,7 @@ 260 : Cannot send: remote is V.29 only, local DCE constrained to 2400 or 4800 bps 261 : Remote station cannot receive (DIS bit 10) 262 : +FK aborted or aborted -263 : +Format conversion error in +FDT=DF,VR, WD,LN Incompatible and inconvertable data format +263 : +Format conversion error in +FDT=DF,VR, WD,LN Incompatible and inconvertible data format 264 : Remote cannot receive 265 : After +FDR, DCE waited more than 30 seconds for XON from DTE after XOFF from DTE 266 : In Polling Phase B, remote cannot be polled diff --git a/faxd/faxApp.c++ b/faxd/faxApp.c++ index b89927a..c723b11 100644 --- a/faxd/faxApp.c++ +++ b/faxd/faxApp.c++ @@ -183,7 +183,7 @@ faxApp::FIFOInput(int fd) * Solaris 2.1 was to do a parallel reopen of the appropriate * FIFO so that the original descriptor is recycled. This * apparently no longer works in Solaris 2.2 or later and we - * are forced to close and reopen both FIFO descriptors (noone + * are forced to close and reopen both FIFO descriptors (no one * appears capable of answering why this this is necessary and * I personally don't care...) */ diff --git a/hfaxd/Jobs.c++ b/hfaxd/Jobs.c++ index 7c36b63..76d4800 100644 --- a/hfaxd/Jobs.c++ +++ b/hfaxd/Jobs.c++ @@ -929,7 +929,7 @@ HylaFAXServer::newJobCmd(void) fxStr file("/" | curJob->qfile); setFileOwner(file); // force ownership FileCache::chmod(file, jobProtection); // sync cache - curJob->lastmod = Sys::now(); // noone else should update + curJob->lastmod = Sys::now(); // no one else should update reply(200, "New job created: jobid: %s groupid: %s.", (const char*) curJob->jobid, (const char*) curJob->groupid); blankJobs[curJob->jobid] = curJob; diff --git a/hfaxd/Parser.c++ b/hfaxd/Parser.c++ index 888d08d..d1cfa4c 100644 --- a/hfaxd/Parser.c++ +++ b/hfaxd/Parser.c++ @@ -1326,7 +1326,7 @@ HylaFAXServer::job_param(fxStr& jid) if (opt_CRLF()) { jid = curJob->jobid; return (true); - } else if (SPACE() && STRING(jid, "job identifer") && CRLF()) { + } else if (SPACE() && STRING(jid, "job identifier") && CRLF()) { jid.lowercase(); return (true); } @@ -1653,7 +1653,7 @@ HylaFAXServer::timerExpired(long, long) if (TRACE(SERVER)) { time_t now = Sys::now(); logInfo("User %s timed out after %d seconds at %.24s" - , IS(LOGGEDIN) ? (const char*) the_user : "(noone)" + , IS(LOGGEDIN) ? (const char*) the_user : "(no one)" , idleTimeout , asctime(cvtTime(now)) ); diff --git a/hfaxd/SNPPServer.c++ b/hfaxd/SNPPServer.c++ index a90be15..2bb32ec 100644 --- a/hfaxd/SNPPServer.c++ +++ b/hfaxd/SNPPServer.c++ @@ -1114,7 +1114,7 @@ SNPPServer::pagerCmd(const char* pagerID, const char* pin) fxStr file("/" | curJob->qfile); setFileOwner(file); // force ownership FileCache::chmod(file, 0660); // sync cache - curJob->lastmod = Sys::now(); // noone else should update + curJob->lastmod = Sys::now(); // no one else should update curJob->number = provider; // destination phone number if (!pin) // use mapped value @@ -1305,7 +1305,7 @@ SNPPServer::sendCmd(void) state &= ~(S_WAITTRIG|S_SENDWAIT); (void) cancelTrigger(emsg); } else // jobs queued, just acknowledge - reply(250, "Message%s succesfully queued.", + reply(250, "Message%s successfully queued.", msgs.length() > 1 ? "s" : ""); resetState(); // reset SEND-related state } diff --git a/hfaxd/main.c++ b/hfaxd/main.c++ index 1c27961..d988637 100644 --- a/hfaxd/main.c++ +++ b/hfaxd/main.c++ @@ -267,7 +267,7 @@ main(int argc, char** argv, char** envp) break; #else case 'h': case 'H': - fatal("No HTTP suport"); + fatal("No HTTP support"); /*NOTREACHED*/ #endif case 'l': diff --git a/libhylafax/t.30.h b/libhylafax/t.30.h index 4825706..f2714ea 100644 --- a/libhylafax/t.30.h +++ b/libhylafax/t.30.h @@ -142,7 +142,7 @@ #define DIS_2DUNCOMP (0x40<<24) // uncompressed 2-d data supported #define DIS_ECMODE (0x20<<24) // error correction mode supported // NB: bit 0x10 must be zero -#define DIS_ELMODE (0x08<<24) // error limiting mode suported +#define DIS_ELMODE (0x08<<24) // error limiting mode supported #define DIS_G4COMP (0x02<<24) // T.6 compression supported // bit 0x01 indicates an extension byte follows diff --git a/rpm/hyla.conf b/rpm/hyla.conf index b3703d6..c149e55 100644 --- a/rpm/hyla.conf +++ b/rpm/hyla.conf @@ -23,7 +23,7 @@ VRes: 196 # Notify policy (for outgoing faxes). # Default is to notify only in case of problems. Equivalent to 'sendfax' # -D option. -#Notify: Done # Notify even for succesfully sent jobs +#Notify: Done # Notify even for successfully sent jobs # 'faxstat' output # Uncomment this to change the format of 'faxstat' output to show the