diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-05-13 11:47:47 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-05-13 11:47:47 +0200 |
commit | 6c50f3639d74edd757dc72dbe6a29cb8aa3b87a3 (patch) | |
tree | 9bab71684043861c1630899a288b829414274913 /src | |
parent | 9bfa1101ac5dbb8d2de1d0431d7e7b281428168f (diff) |
Another tiny char* vs const char* fix.
Diffstat (limited to 'src')
-rw-r--r-- | src/sm_manager.c | 2 |
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); |