Skip to content

Commit e3eecd4

Browse files
authored
clang-format: Fix sntpClient.cpp
1 parent 8d374c4 commit e3eecd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/sntpClient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void sntpClient::ntpToNTTime(sntpClient::sntpTimestamp const& ntpTime, uint64_t&
4545

4646
void sntpClient::updateTime() const {
4747
#ifdef NXDK
48-
struct sockaddr saddr {};
48+
struct sockaddr saddr{};
4949
int s = sntpConnect(host, port, saddr);
5050

5151
sntpMessage message{};
@@ -114,7 +114,7 @@ static int sntpConnect(std::string const& sntpHost, uint32_t port, struct sockad
114114
return -1;
115115
}
116116

117-
struct addrinfo hints {};
117+
struct addrinfo hints{};
118118
hints.ai_family = PF_INET;
119119
hints.ai_socktype = SOCK_DGRAM;
120120
hints.ai_flags = AI_PASSIVE;

0 commit comments

Comments
 (0)