]> granicus.if.org Git - file/commitdiff
*** empty log message ***
authorChristos Zoulas <christos@zoulas.com>
Wed, 27 Oct 1993 21:00:54 +0000 (21:00 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 27 Oct 1993 21:00:54 +0000 (21:00 +0000)
src/ascmagic.c

index 322eb90b774dc180f4ebd6537d748d89bcf2bb38..9821a46bee1f479d99025803044f3a78e2b27434 100644 (file)
@@ -36,7 +36,7 @@
 
 #ifndef        lint
 static char *moduleid = 
-       "@(#)$Id: ascmagic.c,v 1.15 1993/09/16 21:06:33 christos Exp $";
+       "@(#)$Id: ascmagic.c,v 1.16 1993/10/27 21:00:54 christos Exp $";
 #endif /* lint */
 
                        /* an optimisation over plain strcmp() */
@@ -103,23 +103,6 @@ int nbytes;        /* size actually read */
                return 1;
        }
 
-       if ((i = is_compress(buf, &isblock)) != 0) {
-               if (zflag) {
-                       unsigned char *newbuf;
-                       int newsize;
-
-                       if ((newsize = uncompress(buf, &newbuf, nbytes)) != 0) {
-                           tryit(newbuf, newsize);
-                           free(newbuf);
-                       }
-                       printf(" (%scompressed data - %d bits)",
-                               isblock ? "block " : "", i);
-               }
-               else printf("%scompressed data - %d bits",
-                       isblock ? "block " : "", i);
-               return 1;
-       }
-
        for (i = 0; i < nbytes; i++) {
                if (!isascii(*(buf+i)))
                        return 0;       /* not all ascii */