Document and enforce return values
authorThibault, Daniel <Daniel.Thibault@drdc-rddc.gc.ca>
Fri, 27 Jan 2012 19:33:07 +0000 (14:33 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 30 Jan 2012 21:21:34 +0000 (16:21 -0500)
commit27089920577ab0b7e237c4ec6ef2d8bdcea4a5ed
tree3711be2d731b94fd767b307b3afd63f3cc2e5f2f
parent318e4c832cc9a4209dcea885ef2a66cfd16f99d2
Document and enforce return values

In config_read_session_name(), moved the malloc to the beginning, to
avoid the fscanf() loop from trying to write to a NULL

In config_add_session_name(), dealt with another snprintf() occurrence

Signed-off-by: Daniel U. Thibault <daniel.thibault@drdc-rddc.gc.ca>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/create.c
src/bin/lttng/conf.c
This page took 0.027276 seconds and 5 git commands to generate.