A little problem when receiving FAXes from CompuServe ...

Gert Doering (gert@greenie.muc.de)
Thu, 24 Mar 1994 10:20:22 +0100


Hi,

HAL9000 wrote:
> I just discovered a little problem when receiving FAXes created
> by a CompuServe user. It seems that the CompuServe "Sender ID"
> garbles the filename creation for the spooled G3 fax files:
[..]
> > Sender ID:       CompuServe/FAX 

Fixed, any '/' in the remote is now changed to '-'. The fix is trivial:

--- faxrec.c.old	Thu Mar 24 10:19:28 1994
+++ faxrec.c	Thu Mar 24 10:16:25 1994
@@ -202,7 +202,7 @@
 		
     for ( j=0; fax_remote_id[j] != 0; j++ )
     {
-         if ( fax_remote_id[j] == ' ' )
+         if ( fax_remote_id[j] == ' ' || fax_remote_id[j] == '/' )
 	 {
 	     if ( temp[i-1] != '-' ) temp[i++] = '-' ;
 	 }

gert
-- 
Ok, Ihr habt gewonnen, hier ist eine neue signature...

Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-3243328                         gert.doering@physik.tu-muenchen.de