1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-08 05:36:32 +00:00

Replaced // comments for C89/C90 standard compliance

This commit is contained in:
Gerhard Rieger 2023-06-12 12:28:48 +02:00
parent b3dde9a009
commit 5fdd033e7d
7 changed files with 13 additions and 9 deletions

View file

@ -367,7 +367,7 @@ int sockname(int fd, FILE *outfile, char style) {
socknamebuff, sizeof(socknamebuff)));
break;
case 'S':
//sockettype(opttype, typename, TYPENAMEMAX);
/* sockettype(opttype, typename, TYPENAMEMAX); */
fprintf(outfile, "unix %s-%s %s %s",
sockaddr_unix_info(&sockname.un, socknamelen,
socknamebuff, sizeof(socknamebuff)),