Skip to content

Commit

Permalink
Fix getCookie
Browse files Browse the repository at this point in the history
Signed-off-by: iranl <[email protected]>
  • Loading branch information
iranl authored Jan 23, 2025
1 parent 8311339 commit 2f76d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PsychicRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ String PsychicRequest::getCookie(const char* key)

// how big is our cookie?
size_t size;
if (!hasCookie("counter", &size))
if (!hasCookie(key, &size))
return cookie;

// allocate cookie buffer... keep it on the stack
Expand Down

0 comments on commit 2f76d85

Please sign in to comment.