Parent Directory
|
Revision Log
feat(freehttpd): better error handling
1 | #include "log.h" |
2 | |
3 | #include <stdarg.h> |
4 | #include <stdio.h> |
5 | #include <stdlib.h> |
6 | |
7 | void |
8 | log_msg (const char *fmt, ...) |
9 | { |
10 | va_list args; |
11 | va_start (args, fmt); |
12 | vfprintf (stdout, fmt, args); |
13 | va_end (args); |
14 | } |
15 | |
16 | void |
17 | log_err (const char *fmt, ...) |
18 | { |
19 | va_list args; |
20 | va_start (args, fmt); |
21 | vfprintf (stderr, fmt, args); |
22 | va_end (args); |
23 | } |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |