The branch, master has been updated via 4b2955aa7dbcf06629d24d3ea35c6dfa8c4156b9 (commit) from be1dfff02d562e42a7847bd02fed8538630d3f41 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 4b2955aa7dbcf06629d24d3ea35c6dfa8c4156b9 Author: Jeremy Allison <j...@samba.org> Date: Tue Mar 3 08:50:35 2009 -0800 Fix "ignore return" warning. Jeremy. ----------------------------------------------------------------------- Summary of changes: source3/lib/events.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/lib/events.c b/source3/lib/events.c index 9e81a47..f875e0d 100644 --- a/source3/lib/events.c +++ b/source3/lib/events.c @@ -286,8 +286,9 @@ static void s3_event_debug(void *context, enum tevent_debug_level level, break; }; - vasprintf(&s, fmt, ap); - if (!s) return; + if (vasprintf(&s, fmt, ap) == -1) { + return; + } DEBUG(samba_level, ("s3_event: %s", s)); free(s); } -- Samba Shared Repository