summaryrefslogtreecommitdiff
path: root/src/ivy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivy.c')
-rw-r--r--src/ivy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ivy.c b/src/ivy.c
index 5e887d5..b78d227 100644
--- a/src/ivy.c
+++ b/src/ivy.c
@@ -301,7 +301,7 @@ static void Receive( Client client, void *data, char *line )
return;
}
- bind = IvyBindingCompile( arg );
+ bind = IvyBindingCompile( arg, & erroffset, & errbuf );
if ( bind != NULL )
{
IVY_LIST_ADD_START( clnt->msg_send, snd )
@@ -317,7 +317,6 @@ static void Receive( Client client, void *data, char *line )
}
else
{
- IvyBindingGetCompileError( & erroffset, & errbuf );
printf("Error compiling '%s', %s\n", arg, errbuf);
MsgSendTo( client, Error, erroffset, errbuf );
}