Browse Source

Fit code style

krispybyte 2 months ago
parent
commit
d5321963b1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/civetweb.c

+ 2 - 2
src/civetweb.c

@@ -15596,14 +15596,14 @@ handle_request(struct mg_connection *conn)
 			if (len + 1 < buflen) {
 				new_path[len] = '/';
 				new_path[len + 1] = '\0';
-				len += 1;
+				len++;
 			}
 
 			if (ri->query_string) {
 				if (len + 1 < buflen) {
 					new_path[len] = '?';
 					new_path[len + 1] = '\0';
-					len += 1;
+					len++;
 				}
 
 				/* Append with size of space left for query string + null terminator */