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