~ubuntu-branches/debian/squeeze/ntp/squeeze-201010051545

« back to all changes in this revision

Viewing changes to libntp/msyslog.c

  • Committer: Bazaar Package Importer
  • Author(s): Bdale Garbee
  • Date: 2002-03-23 00:22:31 UTC
  • Revision ID: james.westby@ubuntu.com-20020323002231-exmq9hd6ivvu1b6x
Tags: 1:4.1.0-8
move to US main!  Yippee!

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
            *n++ = '\n';
118
118
        *n = '\0';
119
119
 
120
 
        vsprintf(buf, nfmt, ap);
 
120
        vsnprintf(buf, sizeof(buf), nfmt, ap);
 
121
        buf[sizeof(buf)-1] = '\0'; 
121
122
#if !defined(VMS) && !defined (SYS_VXWORKS)
122
123
        if (syslogit)
123
124
#ifndef SYS_WINNT