diff src/prpl.c @ 7631:ea2d07ad05a9

[gaim-migrate @ 8255] long car rides and a power inverter can generate some interesting code tweaks committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 25 Nov 2003 07:16:11 +0000
parents 994b2d782711
children 6a4d65df3f1c
line wrap: on
line diff
--- a/src/prpl.c	Tue Nov 25 06:56:44 2003 +0000
+++ b/src/prpl.c	Tue Nov 25 07:16:11 2003 +0000
@@ -97,7 +97,7 @@
 	return NULL;
 }
 
-void gaim_prpl_ask_send_file (GaimConnection *gc, char *name)
+void gaim_prpl_ask_send_file (GaimConnection *gc, const char *name)
 {
 	GaimPluginProtocolInfo *prpl_info = NULL;
  
@@ -105,13 +105,13 @@
                 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
 
 	if (prpl_info->has_send_file == NULL || prpl_info->send_file == NULL)
-		return FALSE;	
+		return;	
 
 	prpl_info->ask_send_file(gc, name);
 }
 
 
-gboolean gaim_prpl_has_send_file (GaimConnection *gc, char *name)
+gboolean gaim_prpl_has_send_file (GaimConnection *gc, const char *name)
 {
 	GaimPluginProtocolInfo *prpl_info = NULL;