summaryrefslogtreecommitdiffstats
path: root/include/sysutils/SocketListener.h
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-05-20 15:27:14 -0700
committerSan Mehat <san@google.com>2009-05-20 17:16:05 -0700
commitdb017545796747115b8797f03e662b0f398a7c7b (patch)
tree56c78aebe652c2d718a7007381cc3c770eb8ad0d /include/sysutils/SocketListener.h
parent2fd9c5897aba37847879033dd1cffd345ced93fc (diff)
downloadsystem_core-db017545796747115b8797f03e662b0f398a7c7b.zip
system_core-db017545796747115b8797f03e662b0f398a7c7b.tar.gz
system_core-db017545796747115b8797f03e662b0f398a7c7b.tar.bz2
libsysutils: const correctness fixes + remove some debugging
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'include/sysutils/SocketListener.h')
-rw-r--r--include/sysutils/SocketListener.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sysutils/SocketListener.h b/include/sysutils/SocketListener.h
index 30d050d..68dcb8f 100644
--- a/include/sysutils/SocketListener.h
+++ b/include/sysutils/SocketListener.h
@@ -37,8 +37,8 @@ public:
int startListener();
int stopListener();
- void sendBroadcast(int code, char *msg, bool addErrno);
- void sendBroadcast(char *msg);
+ void sendBroadcast(int code, const char *msg, bool addErrno);
+ void sendBroadcast(const char *msg);
protected:
virtual bool onDataAvailable(SocketClient *c) = 0;