core code style

This commit is contained in:
nhmall
2018-12-13 01:36:36 -05:00
parent 106cc8acde
commit f9beca06dc

View File

@@ -4437,7 +4437,10 @@ randomkey()
return c;
}
void random_response(char * buf, int size)
void
random_response(buf, sz)
char *buf;
int sz;
{
int count = 0;
while (1) {
@@ -4451,7 +4454,7 @@ void random_response(char * buf, int size)
break;
}
if (count < size)
if (count < sz)
buf[count++] = c;
}