Skip to content

Commit

Permalink
some pointer changes to read_module_exists in bang-read-thread.c
Browse files Browse the repository at this point in the history
git-svn-id: https://subversion.cs.uiuc.edu/svn/bang/eoh2009@116 69d76c3e-0761-0410-948c-9895a8bb34fc
  • Loading branch information
asjacob2 committed Mar 7, 2009
1 parent 3880a96 commit ff29b5f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/base/bang-read-thread.c
Expand Up @@ -207,14 +207,15 @@ static char read_module_exists(BANG_peer *self) {
if (*mod_args = (void*) read_message(self, (*mod_name_length+4)) == NULL)
return 0;

BANG_sigargs *mod_exists_args;
BANG_sigargs mod_exists_args;

mod_exists_args->args = mod_args;
mod_exists_args->length = *mod_name_length+4;
mod_exists_args.args = mod_args;
mod_exists_args.length = *mod_name_length+4;

free(mod_name_length);

BANG_send_signal(BANG_MODULE_EXISTS,(void*)mod_exists_args,2);
BANG_send_signal(BANG_MODULE_EXISTS,&mod_exists_args,1);
free(mod_args);

return 1;
}
Expand Down

0 comments on commit ff29b5f

Please sign in to comment.