diff --git a/sk2a/compressor.c b/sk2a/compressor.c index 9161262..fe22fa0 100644 --- a/sk2a/compressor.c +++ b/sk2a/compressor.c @@ -33,9 +33,6 @@ int mycompress(char* buff,int size,char* outbuf){ if((size - head) < lookAheadSize){ lookAheadSize = BSIZE - head; } - //printf("Buffer: %s\n",buff); - //printf("window: %s\n", window); - //printf("head: %d\n", head); int wsz = BSIZE; int msz = wsz; if (bufferSize < wsz){ @@ -57,15 +54,11 @@ int mycompress(char* buff,int size,char* outbuf){ if(size > 0){ - //printf("%d",offset); - //printf("%d",size-1); - //printf("%c\n",buff[head+size-1]); sprintf(&outbuf[k],"%d%d%c",offset,size-1,buff[head+size-1]); k+=3; head+=size; }else { - //printf("00%c\n",buff[head]); sprintf(&outbuf[k],"00%c",buff[head]); k+=3; head+=1;