Mercurial > pidgin
diff src/stun.c @ 11229:67f874fadb57
[gaim-migrate @ 13369]
Minor warning fixes
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 11 Aug 2005 04:30:23 +0000 |
parents | 46facec74fc1 |
children | dd1a5969b2e5 |
line wrap: on
line diff
--- a/src/stun.c Thu Aug 11 03:22:38 2005 +0000 +++ b/src/stun.c Thu Aug 11 04:30:23 2005 +0000 @@ -148,7 +148,7 @@ } incb = gaim_input_add(fd, GAIM_INPUT_READ, reply_cb, NULL); - char *ip = gaim_prefs_get_string("/core/network/stun_ip"); + const char *ip = gaim_prefs_get_string("/core/network/stun_ip"); int port = gaim_prefs_get_int("/core/network/stun_port"); if(port == 0 || ip == NULL || ip[0] == '\0') return NULL;