From: Nigel Williams <nigelw+debian@elder-gods.net>
Date: Thu, 24 Jul 2003 17:40:03 +1000
Subject: Fixed error message when non-fax-capable modem supports +FCLASS command (Closes: #202668)

diff -r -U3 efax-0.9a/efax.c efax-0.9a+patch/efax.c
--- efax-0.9a/efax.c	2000-11-15 04:22:09.000000000 +1100
+++ efax-0.9a+patch/efax.c	2003-07-24 16:56:08.000000000 +1000
@@ -2069,6 +2069,7 @@
       if ( strinresp ( "2.0" ) ) c20 = 1 ;
       else if ( strinresp ( "2" ) ) ;
       else if ( strinresp ( "1" ) ) c1 = 1 ;
+      else if ( strinresp ( "0" ) ) err = msg ("E3 modem does not support fax" ) ;
       else err = msg ("E3 can't determine fax modem class support" ) ;
       if ( strstr ( model, "Sportster" ) ) { /* USR Sporsters are buggy */
 	c1 = 1 ; 

