]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
[Bug 204] Not incrementing a char pointer when checking for non-printables
authorDarren Nickerson <darren.nickerson@ifax.com>
Sat, 2 Feb 2002 23:25:36 +0000 (23:25 +0000)
committerDarren Nickerson <darren.nickerson@ifax.com>
Sat, 2 Feb 2002 23:25:36 +0000 (23:25 +0000)
Applied Matt's patch to increment that pesky char.
-dpn

faxd/pageSendApp.c++

index ef2fa37666ef2fc774009d11197cbc434bc30332..524b1511b5179bd4adfefef46d5beb3daad483ca 100644 (file)
@@ -761,7 +761,7 @@ pageSendApp::traceResponse(const fxStackBuffer& buf)
     if (len > 0) {
        const char* cp = buf;
        do {
-           if (!isprint(*cp)) {
+           if (!isprint(*cp++)) {
                extra = "unknown paging central response";
                break;
            }