Skip to content

Commit

Permalink
error message in OSCsend
Browse files Browse the repository at this point in the history
  • Loading branch information
vlazzarini committed Dec 11, 2017
1 parent f174deb commit 1ff4dbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Opcodes/socksend.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,10 @@ static int osc_send2_init(CSOUND *csound, OSCSEND2 *p)
{
unsigned int bsize;

//if (UNLIKELY(p->INOCOUNT > 4 && p->INOCOUNT < (unsigned int) p->type->size + 4))
//return csound->InitError(csound,
// Str("insufficient number of arguments for "
// "OSC message types\n"));
if (UNLIKELY(p->INOCOUNT > 4 && p->INOCOUNT < (unsigned int) p->type->size + 4))
return csound->InitError(csound,
Str("insufficient number of arguments for "
"OSC message types\n"));

#if defined(WIN32) && !defined(__CYGWIN__)
WSADATA wsaData = {0};
Expand Down

0 comments on commit 1ff4dbf

Please sign in to comment.