| -rw-r--r-- | di/pm.c | 6 | ||||
| -rw-r--r-- | include/pm.h | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -246,8 +246,8 @@ void SendGetProxyAddrReply ( IceConn requestor_iceConn, int status, - char *addr, - char *error) + const char *addr, + const char *error) { int len = STRING_BYTES (addr) + STRING_BYTES (error); @@ -269,7 +269,7 @@ SendGetProxyAddrReply ( static int -casecmp(char *str1, char *str2) +casecmp(const char *str1, const char *str2) { char buf1[512],buf2[512]; char c, *s; diff --git a/include/pm.h b/include/pm.h index 95e71bd..1aef4eb 100644 --- a/include/pm.h +++ b/include/pm.h @@ -44,8 +44,8 @@ extern void ConnectToProxyManager ( extern void SendGetProxyAddrReply ( IceConn /*requestor_iceConn*/, int /*status*/, - char * /*addr*/, - char * /*error*/ + const char * /*addr*/, + const char * /*error*/ ); extern void HandleProxyManagerConnection ( |
