commit | 787add29327c510d894dae62d2084939be99bfca | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Nov 23 23:37:04 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 09 15:40:21 2013 +0100 |
tree | 9a71e7ee8eb74f1d119bb3bf9cb1967b0efcc386 | |
parent | a94d2d76532bd2192e28b493e12c75539449268d [diff] |
MINOR: session: add a simple function to retrieve a session from a task This function only casts t->context to (struct session *). It will avoid some ugly and unsafe casts in upcoming changes.