Mercurial > pidgin
changeset 11444:d3b870be8759
[gaim-migrate @ 13683]
Fixing a warning.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 04 Sep 2005 22:08:03 +0000 |
parents | d9d60002065b |
children | 49a94267c8ed |
files | src/dnssrv.c src/dnssrv.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dnssrv.c Sun Sep 04 22:05:47 2005 +0000 +++ b/src/dnssrv.c Sun Sep 04 22:08:03 2005 +0000 @@ -272,7 +272,7 @@ #endif -void gaim_srv_resolve(char *protocol, char *transport, char *domain, SRVCallback cb, gpointer extradata) { +void gaim_srv_resolve(const char *protocol, const char *transport, const char *domain, SRVCallback cb, gpointer extradata) { char *query = g_strdup_printf("_%s._%s.%s",protocol, transport, domain); struct resdata *rdata; #ifndef _WIN32
--- a/src/dnssrv.h Sun Sep 04 22:05:47 2005 +0000 +++ b/src/dnssrv.h Sun Sep 04 22:08:03 2005 +0000 @@ -40,6 +40,6 @@ * @param domain Domainname to query (e.g. "blubb.com") * @cb A callback which will be called with the results */ -void gaim_srv_resolve(char *protocol, char *transport, char *domain, SRVCallback cb, gpointer extradata); +void gaim_srv_resolve(const char *protocol, const char *transport, const char *domain, SRVCallback cb, gpointer extradata); #endif /* _GAIM_DNSSRV_H */