All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 8a29d3c4 authored by Mike Hibler's avatar Mike Hibler

bug fix to make reset command work with UDP

parent 5fe9644b
...@@ -75,7 +75,7 @@ diff -ru dist-tg2.0/src/tg/log.c tg2.0/src/tg/log.c ...@@ -75,7 +75,7 @@ diff -ru dist-tg2.0/src/tg/log.c tg2.0/src/tg/log.c
diff -ru dist-tg2.0/src/tg/prot_dgram.c tg2.0/src/tg/prot_dgram.c diff -ru dist-tg2.0/src/tg/prot_dgram.c tg2.0/src/tg/prot_dgram.c
--- dist-tg2.0/src/tg/prot_dgram.c Thu Jan 24 16:30:10 2002 --- dist-tg2.0/src/tg/prot_dgram.c Thu Jan 24 16:30:10 2002
+++ tg2.0/src/tg/prot_dgram.c Tue Apr 23 17:34:32 2002 +++ tg2.0/src/tg/prot_dgram.c Wed Apr 24 13:40:20 2002
@@ -198,6 +198,22 @@ @@ -198,6 +198,22 @@
for (;;) for (;;)
{ {
...@@ -115,10 +115,12 @@ diff -ru dist-tg2.0/src/tg/prot_dgram.c tg2.0/src/tg/prot_dgram.c ...@@ -115,10 +115,12 @@ diff -ru dist-tg2.0/src/tg/prot_dgram.c tg2.0/src/tg/prot_dgram.c
return (-1); return (-1);
} }
else else
@@ -609,6 +627,9 @@ @@ -609,6 +627,11 @@
justrcvd = 0; justrcvd = 0;
sta = close(fd); sta = close(fd);
log_teardown(NULL, sta == 0 ? -1 : sta); log_teardown(NULL, sta == 0 ? -1 : sta);
+ if (fd == sfd)
+ sfd = -1;
+#ifdef USEEVENTS +#ifdef USEEVENTS
+ firsttime = 1; + firsttime = 1;
+#endif +#endif
......
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