# HG changeset patch # User Sean Egan # Date 1030724440 0 # Node ID 84df15473af6a7606943902b58259ffffa72656c # Parent 3da42b64304e14ac92e605f1a8ca806d7fab78f9 [gaim-migrate @ 3533] Robot101 points out that AIM uri's don't have // in them. aim:goim?screenname=bzubhipheron&message=thanks+for+the+fix+robot101 committer: Tailor Script diff -r 3da42b64304e -r 84df15473af6 src/util.c --- a/src/util.c Fri Aug 30 16:09:22 2002 +0000 +++ b/src/util.c Fri Aug 30 16:20:40 2002 +0000 @@ -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="))) {