core code style

This commit is contained in:
nhmall
2018-12-13 01:36:36 -05:00
parent 106cc8acde
commit f9beca06dc
+5 -2
View File
@@ -4437,7 +4437,10 @@ randomkey()
return c; return c;
} }
void random_response(char * buf, int size) void
random_response(buf, sz)
char *buf;
int sz;
{ {
int count = 0; int count = 0;
while (1) { while (1) {
@@ -4451,7 +4454,7 @@ void random_response(char * buf, int size)
break; break;
} }
if (count < size) if (count < sz)
buf[count++] = c; buf[count++] = c;
} }