shithub: rd

Download patch

ref: d1e47ee675ab27d5f6b8a64460ed14e8ee9f8744
parent: 90d3540b526dc8c34d8ec04f1e1dd356589ea7d1
author: Yaroslav Kolomiiets <[email protected]>
date: Thu Aug 4 09:59:47 EDT 2016

cosmetics

--- a/x224.c
+++ b/x224.c
@@ -109,14 +109,12 @@
 		return -1;
 	}
 
-	/*
-	 * TPKT header: version[1] unused[1] len[2]
-	 * ConReq: hdlen[1] type[1] dstref[2] srcref[2] class[1]
-	 */
+	/* TPKT header: version[1] unused[1] len[2] */
 	p[0] = 0x03;
 	p[1] = 0;
 	PSHORTB(p+2, size);
 
+	/* ConReq: hdlen[1] type[1] dstref[2] srcref[2] class[1] */
 	p[4+0] = 7-1+ndata;
 	p[4+1] = ConReq;
 	PSHORTB(p+4+2, 0);