diff options
author | Jim Mock <jim@FreeBSD.org> | 2001-11-25 01:00:05 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 2001-11-25 01:00:05 +0000 |
commit | 513cd5af551b03208e134cb86d423d207df98946 (patch) | |
tree | bd8b6b3bb7583c6a2c0dcac31282267106c71de7 /irc/xchat/files/patch-autoresume | |
parent | - update to 0.99e (diff) |
Add two patches -- one fixes dccs autoresume, and the other fixes xchat
when used with bnc.
Prodded by: David Hill <david@phobia.ms>
Obtained from: xchat.org
Notes
Notes:
svn path=/head/; revision=50509
Diffstat (limited to 'irc/xchat/files/patch-autoresume')
-rw-r--r-- | irc/xchat/files/patch-autoresume | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/irc/xchat/files/patch-autoresume b/irc/xchat/files/patch-autoresume new file mode 100644 index 000000000000..fa01aaddf088 --- /dev/null +++ b/irc/xchat/files/patch-autoresume @@ -0,0 +1,17 @@ +--- src/common/dcc.c.orig Fri Oct 12 08:13:04 2001 ++++ src/common/dcc.c Sat Nov 24 16:47:39 2001 +@@ -1292,8 +1292,12 @@ + while (list) + { + d = list->data; +- if (d != dcc && strcmp (d->destfile, dcc->destfile) == 0) +- goto dontresume; ++ if (d->type == TYPE_RECV && d->dccstat != STAT_ABORTED && ++ d->dccstat != STAT_DONE && d->dccstat != STAT_FAILED) ++ { ++ if (d != dcc && strcmp (d->destfile, dcc->destfile) == 0) ++ goto dontresume; ++ } + list = list->next; + } + dcc_resume (dcc); |