Commit 7e8f638a authored by Ulrich Sibiller's avatar Ulrich Sibiller

Dialog.c: use designated initializer

parent fab0e477
......@@ -376,10 +376,10 @@ void nxagentFailedReconnectionDialog(int alert, char *error)
while (NXDisplayError(nxagentDisplay) == 0 &&
NXTransRunning(NX_FD_ANY) == 1)
{
struct timeval timeout;
timeout.tv_sec = 30;
timeout.tv_usec = 0;
struct timeval timeout = {
.tv_sec = 30,
.tv_usec = 0,
};
NXTransContinue(&timeout);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment