From: Christian Grothoff Date: Fri, 11 Jun 2010 11:02:51 +0000 (+0000) Subject: size X-Git-Tag: initial-import-from-subversion-38251~21422 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=de339cb29baaed2e020f806d290a1d8985f390f4;p=oweals%2Fgnunet.git size --- diff --git a/src/util/common_logging.c b/src/util/common_logging.c index c6350a9ae..79e31246a 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c @@ -392,7 +392,7 @@ mylog (enum GNUNET_ErrorType kind, last_bulk_repeat = 0; last_bulk_kind = kind; last_bulk_time = GNUNET_TIME_absolute_get (); - strncpy (last_bulk_comp, comp, sizeof (last_bulk_comp)); + strncpy (last_bulk_comp, comp, COMP_TRACK_SIZE); output_message (kind, comp, date, buf); free (buf); }