Skip to content

Commit

Permalink
bad error handling
Browse files Browse the repository at this point in the history
git-svn-id: https://gtknode.googlecode.com/svn/trunk@20 9999ab98-4a1b-0410-ba6a-d90168ca9a37
  • Loading branch information
massemanet committed Nov 20, 2006
1 parent c92fdce commit 81b0c52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c_src/gtknode_cnode.c
Expand Up @@ -91,10 +91,11 @@ static void make_reply_list(ei_x_buff *xbuf, char *buff, int *index) {

gint arity, i;

gn_wrap_ans("reply",xbuf);

if ( ! ((arity = gn_get_list(xbuf, buff, index)) > -1) )
return;

gn_wrap_ans("reply",xbuf);
for (i = 0; i < arity; i++) {
ei_x_encode_list_header(xbuf, 1);
if ( ! make_reply(xbuf, buff, index) )
Expand Down

0 comments on commit 81b0c52

Please sign in to comment.