summaryrefslogtreecommitdiff
path: root/src/master.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-12-21 15:44:09 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2014-12-21 15:44:09 +0100
commit43a1a5f31ecc130990989a6c164d713629b4d5ed (patch)
treecac60830ef2d2f77d64127cc4eebfbe848371f2b /src/master.c
parente8d7e3401051dd9d8e2992ae0ed0d5149a6bdcc5 (diff)
downloadbiruda-43a1a5f31ecc130990989a6c164d713629b4d5ed.tar.gz
biruda-43a1a5f31ecc130990989a6c164d713629b4d5ed.tar.bz2
increased some buffers and line buffers for worker output
Diffstat (limited to 'src/master.c')
-rw-r--r--src/master.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/master.c b/src/master.c
index ad266e2..b14acbe 100644
--- a/src/master.c
+++ b/src/master.c
@@ -469,7 +469,7 @@ void master_output_outstanding_messages( const char *name, char *s, size_t len )
}
fseek( wed->spool_file, wed->read_pos, SEEK_SET );
- char line[100];
+ char line[1024];
char *cur = s;
char *end = s + len;
while( wed->read_pos < end_pos ) {
@@ -498,7 +498,7 @@ void master_output_tail( const char *name, char *s, size_t len )
char *last_lines[25];
memset( last_lines, 0, sizeof( last_lines ) );
int last_lines_pos = 0;
- char line[100];
+ char line[1024];
while( pos < end_pos ) {
fgets( line, sizeof( line ), wed->spool_file );
if( last_lines[last_lines_pos] != NULL ) {