diff options
Diffstat (limited to 'src/screen.h')
-rw-r--r-- | src/screen.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen.h b/src/screen.h index 5c93f32..73c17ba 100644 --- a/src/screen.h +++ b/src/screen.h @@ -207,7 +207,7 @@ struct msg create; struct { - char auser[20 + 1]; /* username */ + char auser[MAX_USERNAME_LEN + 1]; /* username */ int apid; /* pid of frontend */ int adaptflag; /* adapt window size? */ int lines, columns; /* display size */ @@ -221,13 +221,13 @@ struct msg attach; struct { - char duser[20 + 1]; /* username */ + char duser[MAX_USERNAME_LEN + 1]; /* username */ int dpid; /* pid of frontend */ } detach; struct { - char auser[20 + 1]; /* username */ + char auser[MAX_USERNAME_LEN + 1]; /* username */ int nargs; char cmd[MAXPATHLEN]; /* command */ int apid; /* pid of frontend */ |