comparison src/html.c @ 5511:d64bbc7ab746

[gaim-migrate @ 5910] I think this is better committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 25 May 2003 13:41:02 +0000
parents 36d2c875a822
children e41b04bb4afe
comparison
equal deleted inserted replaced
5510:da18a02c3705 5511:d64bbc7ab746
89 return text2; 89 return text2;
90 } 90 }
91 91
92 struct g_url *parse_url(char *url) 92 struct g_url *parse_url(char *url)
93 { 93 {
94 struct g_url *test = (struct g_url*)malloc(sizeof(struct g_url)); 94 struct g_url *test = g_new0(struct g_url);
95 char scan_info[255]; 95 char scan_info[255];
96 char port[5]; 96 char port[5];
97 int f; 97 int f;
98 char* turl; 98 char* turl;
99 /* hyphen at end includes it in control set */ 99 /* hyphen at end includes it in control set */