Line 0
Link Here
|
|
|
1 |
--- perdition/str.c.orig Sun Apr 21 04:10:48 2002 |
2 |
+++ perdition/str.c Sun Apr 21 04:13:22 2002 |
3 |
@@ -35,7 +35,6 @@ |
4 |
#include <stdlib.h> |
5 |
#include <stdarg.h> |
6 |
#include <unistd.h> |
7 |
-#include <printf.h> |
8 |
#include <sys/uio.h> |
9 |
#include <vanessa_socket.h> |
10 |
|
11 |
@@ -96,13 +95,6 @@ |
12 |
|
13 |
extern options_t opt; |
14 |
extern vanessa_logger_t *perdition_vl; |
15 |
- |
16 |
- if((fmt_args=parse_printf_format(fmt, 0, NULL)) != nargs){ |
17 |
- PERDITION_DEBUG_UNSAFE( |
18 |
- "nargs and fmt missmatch: %d args requested, %d args in format", nargs, |
19 |
- fmt_args); |
20 |
- return(-1); |
21 |
- } |
22 |
|
23 |
va_start(ap, fmt); |
24 |
if((bytes=vsnprintf(__str_write_buf, STR_WRITE_BUF_LEN-2, fmt, ap))<0){ |