Wrap len in parantheses
This commit is contained in:
		
							parent
							
								
									59d273fdcc
								
							
						
					
					
						commit
						4518e4334d
					
				
							
								
								
									
										10
									
								
								src/reqs.c
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								src/reqs.c
									
									
									
									
									
								
							@ -67,15 +67,15 @@
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 * Codify the test for the carriage return and new line characters.
 | 
					 * Codify the test for the carriage return and new line characters.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define CHECK_CRLF(header, len) \
 | 
					#define CHECK_CRLF(header, len)                                 \
 | 
				
			||||||
  ((len == 1 && header[0] == '\n') || \
 | 
					  (((len) == 1 && header[0] == '\n') ||                         \
 | 
				
			||||||
   (len == 2 && header[0] == '\r' && header[1] == '\n'))
 | 
					   ((len) == 2 && header[0] == '\r' && header[1] == '\n'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Codify the test for header fields folded over multiple lines.
 | 
					 * Codify the test for header fields folded over multiple lines.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define CHECK_LWS(header, len) \
 | 
					#define CHECK_LWS(header, len)                                  \
 | 
				
			||||||
  (len >= 1 && (header[0] == ' ' || header[0] == '\t'))
 | 
					  ((len) > 0 && (header[0] == ' ' || header[0] == '\t'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * This is a global variable which stores which ports are allowed by
 | 
					 * This is a global variable which stores which ports are allowed by
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user