Lines Matching refs:msg
112 char msg[VerLen+1]; in vncsrvhandshake() local
114 strecpy(msg, msg+sizeof msg, version); in vncsrvhandshake()
116 fprint(2, "server version: %s", msg); in vncsrvhandshake()
117 vncwrbytes(v, msg, VerLen); in vncsrvhandshake()
120 vncrdbytes(v, msg, VerLen); in vncsrvhandshake()
122 fprint(2, "client version: %s", msg); in vncsrvhandshake()
129 char msg[VerLen+1]; in vnchandshake() local
131 msg[VerLen] = 0; in vnchandshake()
132 vncrdbytes(v, msg, VerLen); in vnchandshake()
133 if(strncmp(msg, "RFB ", 4) != 0){ in vnchandshake()
134 werrstr("bad rfb version \"%s\"", msg); in vnchandshake()
138 fprint(2, "server version: %s", msg); in vnchandshake()
139 strcpy(msg, version); in vnchandshake()
140 vncwrbytes(v, msg, VerLen); in vnchandshake()