Skip to content

Commit 7a81d1f

Browse files
committed
increase some array sizes
1 parent fbc313b commit 7a81d1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/queue/queryclient.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ int main(int argc, char *argv[])
2020
struct sockaddr_in serv_addr;
2121
struct hostent *server;
2222

23-
#define MAXLEN 1000000
23+
#define MAXLEN 2000000
2424
char buffer[MAXLEN];
2525
if (argc < 3) {
2626
fprintf(stderr,"usage %s hostname portno\n", argv[0]);

src/queue/queryhost.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <sys/socket.h>
1515
#include <netinet/in.h>
1616
#include <errno.h>
17-
#define MAXPROC 30000
17+
#define MAXPROC 35000
1818
int main(int argc, char *argv[])
1919
{
2020
char done[MAXPROC][64], running[MAXPROC][64], id[64];

0 commit comments

Comments
 (0)