aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc
diff options
context:
space:
mode:
Diffstat (limited to 'unix/xserver/hw/vnc')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.cc8
-rw-r--r--unix/xserver/hw/vnc/vncExtInit.cc6
2 files changed, 7 insertions, 7 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc
index 5e81ee9b..c872a6ba 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.cc
+++ b/unix/xserver/hw/vnc/XserverDesktop.cc
@@ -333,7 +333,7 @@ bool XserverDesktop::handleListenerEvent(int fd,
return false;
Socket* sock = (*i)->accept();
- vlog.debug("new client, sock %d", sock->getFd());
+ vlog.debug("New client, sock %d", sock->getFd());
sockserv->addSocket(sock);
vncSetNotifyFd(sock->getFd(), screenIndex, true, false);
@@ -380,7 +380,7 @@ void XserverDesktop::blockHandler(int* timeout)
for (i = sockets.begin(); i != sockets.end(); i++) {
int fd = (*i)->getFd();
if ((*i)->isShutdown()) {
- vlog.debug("client gone, sock %d",fd);
+ vlog.debug("Client gone, sock %d",fd);
vncRemoveNotifyFd(fd);
server->removeSocket(*i);
vncClientGone(fd);
@@ -413,14 +413,14 @@ void XserverDesktop::blockHandler(int* timeout)
void XserverDesktop::addClient(Socket* sock, bool reverse, bool viewOnly)
{
- vlog.debug("new client, sock %d reverse %d",sock->getFd(),reverse);
+ vlog.debug("New client, sock %d reverse %d",sock->getFd(),reverse);
server->addSocket(sock, reverse, viewOnly ? AccessView : AccessDefault);
vncSetNotifyFd(sock->getFd(), screenIndex, true, false);
}
void XserverDesktop::disconnectClients()
{
- vlog.debug("disconnecting all clients");
+ vlog.debug("Disconnecting all clients");
return server->closeClients("Disconnection from server end");
}
diff --git a/unix/xserver/hw/vnc/vncExtInit.cc b/unix/xserver/hw/vnc/vncExtInit.cc
index 073b07e2..7576619e 100644
--- a/unix/xserver/hw/vnc/vncExtInit.cc
+++ b/unix/xserver/hw/vnc/vncExtInit.cc
@@ -141,7 +141,7 @@ static PixelFormat vncGetPixelFormat(int scrIdx)
&redMask, &greenMask, &blueMask);
if (!trueColour) {
- vlog.error("pseudocolour not supported");
+ vlog.error("Pseudocolour not supported");
abort();
}
@@ -263,12 +263,12 @@ void vncExtensionInit(void)
vncGetScreenHeight(),
vncFbptr[scr],
vncFbstride[scr]);
- vlog.info("created VNC server for screen %d", scr);
+ vlog.info("Created VNC server for screen %d", scr);
if (scr == 0 && vncInetdSock != -1 && listeners.empty()) {
network::Socket* sock = new network::TcpSocket(vncInetdSock);
desktop[scr]->addClient(sock, false, false);
- vlog.info("added inetd sock");
+ vlog.info("Added inetd sock");
}
}