Skip to content

Commit 98a7410

Browse files
committed
code format
1 parent 32cab87 commit 98a7410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coroutine/hook.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ string Coroutine::gethostbyname(const string &hostname, int domain, double timeo
743743
}
744744

745745
swAio_event ev;
746-
aio_task task ;
746+
aio_task task;
747747

748748
bzero(&ev, sizeof(swAio_event));
749749
if (hostname.size() < SW_IP_MAX_LENGTH)
@@ -772,7 +772,7 @@ string Coroutine::gethostbyname(const string &hostname, int domain, double timeo
772772
ev.callback = aio_onDNSCompleted;
773773

774774
swAio_event *event = swAio_dispatch2(&ev);
775-
swTimer_node* timer = nullptr;
775+
swTimer_node *timer = nullptr;
776776
if (timeout > 0)
777777
{
778778
timer = swTimer_add(&SwooleG.timer, (long) (timeout * 1000), 0, event, aio_onDNSTimeout);

0 commit comments

Comments
 (0)