summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-05-13 11:47:47 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2007-05-13 11:47:47 +0200
commit6c50f3639d74edd757dc72dbe6a29cb8aa3b87a3 (patch)
tree9bab71684043861c1630899a288b829414274913 /src
parent9bfa1101ac5dbb8d2de1d0431d7e7b281428168f (diff)
Another tiny char* vs const char* fix.
Diffstat (limited to 'src')
-rw-r--r--src/sm_manager.c2
1 files changed, 1 insertions, 1 deletions
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);