Indent code example with one tab, not two, for consistency with the rest.

This commit is contained in:
Tim J. Robbins 2002-10-19 13:48:45 +00:00
parent f7383f14ae
commit 118bb75e02

View File

@ -678,14 +678,14 @@ To allocate a 128 byte string and print into it:
#include <stdarg.h>
char *newfmt(const char *fmt, ...)
{
char *p;
va_list ap;
if ((p = malloc(128)) == NULL)
return (NULL);
va_start(ap, fmt);
(void) vsnprintf(p, 128, fmt, ap);
va_end(ap);
return (p);
char *p;
va_list ap;
if ((p = malloc(128)) == NULL)
return (NULL);
va_start(ap, fmt);
(void) vsnprintf(p, 128, fmt, ap);
va_end(ap);
return (p);
}
.Ed
.Sh SECURITY CONSIDERATIONS