Skip to content

Commit 4ca9355

Browse files
authored
Revert "clang-format: Fix sntpClient.cpp"
This reverts commit e3eecd4.
1 parent e3eecd4 commit 4ca9355

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)