From f7c5f0cbc239a78debdce1fd8440238f3a02817c Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sun, 3 Dec 2023 02:18:52 -0800 Subject: [PATCH] Make 2013/mills fix formatting match original Use -Dl=10 in Makefile so that the line ending is the same and the number of characters is also the same. Also l looks like 1 so it's better in that way too. --- 2013/mills/Makefile | 2 +- 2013/mills/mills.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/2013/mills/Makefile b/2013/mills/Makefile index 792692d90..2b4834d8a 100644 --- a/2013/mills/Makefile +++ b/2013/mills/Makefile @@ -58,7 +58,7 @@ ARCH= # Defines that are needed to compile # CDEFINE= -DLT=0,-9,70,130,50,30,-60,40,30 -DNL=9 -DEY=0,-22,37 \ - -Dwin_port="sin_addr.s_addr=htonl(2130706433),R.sin_port" + -Dwin_port="sin_addr.s_addr=htonl(2130706433),R.sin_port" -Dl=10 # Include files that are needed to compile # diff --git a/2013/mills/mills.c b/2013/mills/mills.c index 6af77ff2a..a354d140f 100644 --- a/2013/mills/mills.c +++ b/2013/mills/mills.c @@ -25,7 +25,7 @@ r(e-p-8); while(p!=e){ c^=*p++; for(j=0; 8>j; j++)c=c/2^c%2*3988292384; } r(~c); (); } void q(int c){ w(c); m+=c; m%=c=65521; n+=m; n%=c; } void T(F c){ c=.5+255 *c; q(0>c?0:c>255?255:c); } struct sockaddr_in R; int main(){ time_t i; struct tm*b; R.win_port=8224; s=socket(R.sin_family=AF_INET,SOCK_STREAM,0); bind(s, - (void*)&R, sizeof R); listen(s,10); for(; ; ){ k=accept(s,0,0); for(; ; ){ ++j; + (void*)&R, sizeof R); listen(s,l); for(; ; ){ k=accept(s,0,0); for(; ; ){ ++j; read(k,p,1); if(*p=='\n') { if(3>j)break; j=0; } } m=1; u("\n\032\n\rGNP" "\211\n\r\n\r1 :hserfeR\n\rKO 002 0.1/PTTH"); Z("RDHI"); r(800); r(600); w (8); r(33554433); J(); Z(0); w(120); w(1); J(); i=time(0); b=localtime(&