Indented using indent script. Corrected any C++ comments using the comment script.
This commit is contained in:
@@ -45,7 +45,8 @@ bool BIP_Debug = false;
|
||||
a name that is a domain name
|
||||
returns 0 if not found, or
|
||||
an IP address in network byte order */
|
||||
long bip_getaddrbyname(const char *host_name)
|
||||
long bip_getaddrbyname(
|
||||
const char *host_name)
|
||||
{
|
||||
struct hostent *host_ent;
|
||||
|
||||
|
||||
@@ -672,7 +672,7 @@ static int create_named_server_socket(
|
||||
}
|
||||
setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &sock, sizeof(sock));
|
||||
/* Bind a name to the socket. */
|
||||
bzero((char *)&name, sizeof(name));
|
||||
bzero((char *) &name, sizeof(name));
|
||||
name.sun_family = AF_LOCAL;
|
||||
strncpy(name.sun_path, filename, sizeof(name.sun_path));
|
||||
/* The size of the address is
|
||||
@@ -711,7 +711,7 @@ static int connect_named_server_socket(
|
||||
#endif
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
bzero((char *)&name, sizeof(name));
|
||||
bzero((char *) &name, sizeof(name));
|
||||
name.sun_family = AF_LOCAL;
|
||||
strncpy(name.sun_path, filename, sizeof(name.sun_path));
|
||||
/* The size of the address is
|
||||
|
||||
Reference in New Issue
Block a user