Skip to content

Commit 38698c3

Browse files
author
Sebastiano Merlino
committed
Resolve self-assignment bug caused by copy-paste
1 parent f2078d8 commit 38698c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/httpserver/http_request.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class http_request
357357
int nonce_timeout, bool& reload_nonce
358358
) const;
359359

360-
friend std::ostream &operator<< (std::ostream &os, const http_request &r);
360+
friend std::ostream &operator<< (std::ostream &os, const http_request &r);
361361
private:
362362
/**
363363
* Default constructor of the class. It is a specific responsibility of apis to initialize this type of objects.
@@ -572,7 +572,7 @@ class http_request
572572
{
573573
this->user = user;
574574
}
575-
void set_digested_user(const std::string& user)
575+
void set_digested_user(const std::string& digested_user)
576576
{
577577
this->digested_user = digested_user;
578578
}

0 commit comments

Comments
 (0)