From 6c50f3639d74edd757dc72dbe6a29cb8aa3b87a3 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 13 May 2007 11:47:47 +0200 Subject: Another tiny char* vs const char* fix. --- src/sm_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sm_manager.c') diff --git a/src/sm_manager.c b/src/sm_manager.c index c75764f..51ac548 100644 --- a/src/sm_manager.c +++ b/src/sm_manager.c @@ -76,7 +76,7 @@ _SmsProtocolSetupProc (IceConn iceConn, if ((smsConn = (SmsConn) malloc (sizeof (struct _SmsConn))) == NULL) { - char *str = "Memory allocation failed"; + const char *str = "Memory allocation failed"; if ((*failureReasonRet = (char *) malloc (strlen (str) + 1)) != NULL) strcpy (*failureReasonRet, str); -- cgit v1.2.3