version 1.2.2.1, 2012/03/10 15:55:42
|
version 1.3.4.1, 2012/07/31 11:56:16
|
Line 44 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF TH
|
Line 44 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF TH
|
SUCH DAMAGE. |
SUCH DAMAGE. |
*/ |
*/ |
#include "global.h" |
#include "global.h" |
#include "tools.h" |
|
#include "mime.h" |
#include "mime.h" |
|
|
|
|
Line 76 www_SetErr(int eno, char *estr, ...)
|
Line 75 www_SetErr(int eno, char *estr, ...)
|
va_list lst; |
va_list lst; |
|
|
www_Errno = eno; |
www_Errno = eno; |
memset(www_Error, 0, STRSIZ); | memset(www_Error, 0, sizeof www_Errno); |
va_start(lst, estr); |
va_start(lst, estr); |
vsnprintf(www_Error, STRSIZ, estr, lst); | vsnprintf(www_Error, sizeof www_Errno, estr, lst); |
va_end(lst); |
va_end(lst); |
} |
} |
|
|