summaryrefslogtreecommitdiff
path: root/server/include/list.h
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2023-02-15 22:48:35 -0600
committerDanny Holman <dholman@gymli.org>2023-02-15 22:48:35 -0600
commit89c48e763ef042c9faee5b7c1434dbcaf12da399 (patch)
tree172b7d07cddf23c02ed4350cb05b9f5696dee161 /server/include/list.h
parentf5ffe47cab376672c8dec6cfedf84d83e5dcafff (diff)
session: add error checking to session creation
Add a check in init_session that returns -1 if malloc cannot create a new session. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'server/include/list.h')
0 files changed, 0 insertions, 0 deletions