From dcefefe6c330261f359df69fa7a48af6dacdd103 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Sun, 15 Nov 2020 10:26:36 +0000 Subject: [PATCH] minor copyright fix --- moo/lib/fmt-imp.h | 2 +- moo/lib/fmt.c | 1 + moo/lib/moo-fmt.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/moo/lib/fmt-imp.h b/moo/lib/fmt-imp.h index eeda707..d2d5385 100644 --- a/moo/lib/fmt-imp.h +++ b/moo/lib/fmt-imp.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2006-2019 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2014-2019 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/moo/lib/fmt.c b/moo/lib/fmt.c index 0801947..bbffba0 100644 --- a/moo/lib/fmt.c +++ b/moo/lib/fmt.c @@ -2095,6 +2095,7 @@ moo_ooi_t moo_logufmtv (moo_t* moo, moo_bitmask_t mask, const moo_uch_t* fmt, va vmprim_log_write (moo, moo->log.last_mask, moo->log.ptr, moo->log.len); moo->log.len = 0; } + return (x <= -1)? -1: fo.count; } diff --git a/moo/lib/moo-fmt.h b/moo/lib/moo-fmt.h index ba21918..49f592f 100644 --- a/moo/lib/moo-fmt.h +++ b/moo/lib/moo-fmt.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright (c) 2006-2019 Chung, Hyung-Hwan. All rights reserved. + Copyright (c) 2014-2019 Chung, Hyung-Hwan. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions