Skip to content

Commit ecd1470

Browse files
author
Sebastiano Merlino
committed
Avoid to assign member field to itself
1 parent 8db7a3f commit ecd1470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpserver/http_request.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ class http_request
509509
* Method used to set the requestor port
510510
* @param requestor The requestor port to set
511511
**/
512-
void set_requestor_port(short requestor)
512+
void set_requestor_port(short requestor_port)
513513
{
514514
this->requestor_port = requestor_port;
515515
}

0 commit comments

Comments
 (0)