فهرست منبع

Increase static bufer

z3APA3A 10 سال پیش
والد
کامیت
b56702e670
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/common.c

+ 1 - 1
src/common.c

@@ -603,7 +603,7 @@ void lognone(struct clientparam * param, const unsigned char *s) {
 }
 }
 pthread_mutex_t log_mutex;
 pthread_mutex_t log_mutex;
 int logmutexinit = 0;
 int logmutexinit = 0;
-unsigned char tmpbuf[4096];
+unsigned char tmpbuf[8192];
 
 
 void logstdout(struct clientparam * param, const unsigned char *s) {
 void logstdout(struct clientparam * param, const unsigned char *s) {
 	FILE *log;
 	FILE *log;