Diff

Differences From Artifact [aa6f563055]:

To Artifact [d9e33566eb]:


520
521
522
523
524
525
526





527


528

529
530
531
532
533
534
535
}

/*
 * Actually do the job requested by a WM_NETEVENT
 */
static void enact_pending_netevent(void) {
    int i;





    pending_netevent = FALSE;


    i = back->msg (pend_netevent_wParam, pend_netevent_lParam);


    if (i < 0) {
	char buf[1024];
	switch (WSABASEERR + (-i) % 10000) {
	  case WSAECONNRESET:
	    sprintf(buf, "Connection reset by peer");
	    break;







>
>
>
>
>

>
>

>







520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
}

/*
 * Actually do the job requested by a WM_NETEVENT
 */
static void enact_pending_netevent(void) {
    int i;
    static int reentering = 0;

    if (reentering)
        return;                        /* don't unpend the pending */

    pending_netevent = FALSE;

    reentering = 1;
    i = back->msg (pend_netevent_wParam, pend_netevent_lParam);
    reentering = 0;

    if (i < 0) {
	char buf[1024];
	switch (WSABASEERR + (-i) % 10000) {
	  case WSAECONNRESET:
	    sprintf(buf, "Connection reset by peer");
	    break;