diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-01-26 17:25:27 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-01-26 17:25:27 +0000 |
commit | 88d71834ce69debc900973f61e1e45a91fc117c2 (patch) | |
tree | c5601f6024aba18faeb79fe08b83d62f2141817d /src/win32-mailslot.c | |
parent | 294b9f3bdcfd63a4bf571f4efd035a0c7551de4a (diff) |
statusbar fix: connection fail messages should be replaced by the connected message if a subsequent attempt succeeds
Diffstat (limited to 'src/win32-mailslot.c')
-rw-r--r-- | src/win32-mailslot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32-mailslot.c b/src/win32-mailslot.c index cca051f..6878b9c 100644 --- a/src/win32-mailslot.c +++ b/src/win32-mailslot.c @@ -73,13 +73,13 @@ static gpointer mailslot_recv_thread(gpointer data) if (INVALID_HANDLE_VALUE == hMailslot) { g_error("\nError occurred while creating the mailslot: %d", GetLastError()); - return NULL; //Error + return NULL; /* Error */ } while (1) { bResult = ReadFile(hMailslot, /* handle to mailslot */ szBuffer, /* buffer to receive data */ - sizeof(szBuffer), // size of buffer */ + sizeof(szBuffer), /* size of buffer */ &cbBytes, /* number of bytes read */ NULL); /* not overlapped I/O */ |