diff options
author | Chris Severance | 2022-04-17 23:34:56 -0400 |
---|---|---|
committer | Chris Severance | 2022-04-17 23:34:56 -0400 |
commit | 0deedaad7ac38c7144cf1d5d07a769ccf0e9f8cd (patch) | |
tree | a82536fd445a9f61fe99036a6946bd50fe50992f /0006-hylafaxplus-jobfmt-assigned-modem-to-used-modem.patch | |
parent | 280cf3bc3c769e20993510d72492f41cf40ecbeb (diff) | |
download | aur-0deedaad7ac38c7144cf1d5d07a769ccf0e9f8cd.tar.gz |
autu: Update to 7.0.5-1
Diffstat (limited to '0006-hylafaxplus-jobfmt-assigned-modem-to-used-modem.patch')
-rw-r--r-- | 0006-hylafaxplus-jobfmt-assigned-modem-to-used-modem.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/0006-hylafaxplus-jobfmt-assigned-modem-to-used-modem.patch b/0006-hylafaxplus-jobfmt-assigned-modem-to-used-modem.patch index 0bca9bc3dc33..4d6882215bfe 100644 --- a/0006-hylafaxplus-jobfmt-assigned-modem-to-used-modem.patch +++ b/0006-hylafaxplus-jobfmt-assigned-modem-to-used-modem.patch @@ -1,6 +1,6 @@ ---- hfaxd/Jobs.c++.Arch 2018-06-27 18:15:01.000000000 -0400 -+++ hfaxd/Jobs.c++ 2019-03-29 20:57:09.408205318 -0400 -@@ -2240,11 +2240,17 @@ HylaFAXServer::Jprintf(FILE* fd, const c +--- hfaxd/Jobs.c++.Arch 2020-07-31 18:37:47.000000000 -0400 ++++ hfaxd/Jobs.c++ 2022-01-25 15:31:31.103951194 -0500 +@@ -2252,11 +2252,17 @@ HylaFAXServer::Jprintf(FILE* fd, const c break; case 'l': fprintf(fd, fspec, job.pagelength); @@ -8,11 +8,11 @@ case 'm': - fprintf(fd, fspec, (const char*) job.modem); + { -+ const char *p=job.modemused; ++ const char *q,*p=job.modemused; + if (*p == '\0') p=job.modem; + if (0==strcmp(p,"any")) p=""; -+ if ( p[0]=='t' && p[1]=='t' && p[2]=='y') p+=3; -+ fprintf(fd, fspec, (const char*) p); ++ q=strstr(p,"tty"); /* I'd rather search backwards */ ++ fprintf(fd, fspec, q?(q+3):p); + } break; case 'n': |