remove useless {}
This commit is contained in:
parent
2b226c9a02
commit
7c1edb0feb
3
main.c
3
main.c
|
@ -25,10 +25,9 @@ int main(int argc, char *argv[]){
|
|||
err(1, "pledge");
|
||||
|
||||
/* configuration */
|
||||
if (argc == 2) {
|
||||
if (argc == 2)
|
||||
if (strlcpy(table, argv[1], TABLE_LEN) >= sizeof(table))
|
||||
errx(1, "table name is too long");
|
||||
}
|
||||
|
||||
/* get socket structure */
|
||||
if(getpeername(STDIN_FILENO, (struct sockaddr *)&sock, &slen))
|
||||
|
|
Loading…
Reference in New Issue