Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv31214/src
Modified Files:
util.c
Log Message:
Robot101 points out that AIM uri's don't have // in them.
aim:goim?screenname=bzubhipheron&message=thanks+for+the+fix+robot101
Index: util.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/util.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -d -r1.132 -r1.133
--- util.c 30 Aug 2002 16:09:22 -0000 1.132
+++ util.c 30 Aug 2002 16:20:40 -0000 1.133
@@ -1287,11 +1287,11 @@
if (gc == NULL)
return "Not connected to AIM";
- /* aim://goim?screenname=screenname&message=message */
- if (!g_strncasecmp(uri, "aim://goim?", strlen("aim://goim?"))) {
+ /* aim:goim?screenname=screenname&message=message */
+ if (!g_strncasecmp(uri, "aim:goim?", strlen("aim:goim?"))) {
char *who, *what;
struct conversation *c;
- uri = uri + strlen("aim://goim?");
+ uri = uri + strlen("aim:goim?");
if (!(who = strstr(uri, "screenname="))) {
return "No screenname given.";
@@ -1326,9 +1326,9 @@
what, strlen(what), &finish);
g_free(what);
}
- } else if (!g_strncasecmp(uri, "aim://addbuddy?", strlen("aim://addbuddy?"))) {
+ } else if (!g_strncasecmp(uri, "aim:addbuddy?", strlen("aim:addbuddy?"))) {
char *who, *group;
- uri = uri + strlen("aim://addbuddy?");
+ uri = uri + strlen("aim:addbuddy?");
/* spaces are encoded as +'s */
if (!(who = strstr(uri, "screenname="))) {
@@ -1359,12 +1359,12 @@
g_free(who);
if (group)
g_free(group);
- } else if (!g_strncasecmp(uri, "aim://gochat?", strlen("aim://gochat?"))) {
+ } else if (!g_strncasecmp(uri, "aim:gochat?", strlen("aim:gochat?"))) {
char *room;
GList *chat=NULL;
int exch = 5;
- uri = uri + strlen("aim://gochat?");
+ uri = uri + strlen("aim:gochat?");
/* spaces are encoded as +'s */
if (!(room = strstr(uri, "roomname="))) {
|