Permalink
Browse files

bad error handling

git-svn-id: https://gtknode.googlecode.com/svn/trunk@20 9999ab98-4a1b-0410-ba6a-d90168ca9a37
  • Loading branch information...
1 parent c92fdce commit 81b0c52ece33f45d13a2c4debcab3147e9e55a5d @massemanet committed Nov 20, 2006
Showing with 2 additions and 1 deletion.
  1. +2 −1 c_src/gtknode_cnode.c
View
@@ -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) )

0 comments on commit 81b0c52

Please sign in to comment.