httpRequest JS bridge function implemented in gtk launcher.

This commit is contained in:
Matthew Bowra-Dean
2010-12-31 23:41:43 +13:00
committed by Chris Forbes
parent ec572635b7
commit ad478e8872
4 changed files with 127 additions and 24 deletions

View File

@@ -285,13 +285,13 @@ void mod_list_line(GString const * mod, gpointer user)
void mod_list_callback(GPid pid, gint status, gpointer data)
{
int * out_fd = (int *)data;
callback_data * d = (callback_data *)data;
GString * msg = NULL;
msg = util_get_output(*out_fd);
msg = util_get_output(d->output_fd);
close(*out_fd);
free(out_fd);
close(d->output_fd);
g_free(d);
if (!msg)
return;