Skip to content

Commit 1514995

Browse files
committed
add fix for disconnecting peer
1 parent 569e611 commit 1514995

File tree

9 files changed

+377
-51
lines changed

9 files changed

+377
-51
lines changed

Media/aethergrid-high.xcf

707 KB
Binary file not shown.
3.74 MB
Loading

Media/aethergrid-superbold.png

3.74 MB
Loading

Media/aethergrid.xcf

412 KB
Binary file not shown.

dcc_client/dcc_client/P2PClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ void P2P::ListenerThread(int update_interval)
417417
reqDat = -1;
418418
messageStatus = -1;
419419
pendingReceiveData = false;
420+
otherAddrStr = "";
420421
return;
421422
}
422423
// If the peer is requesting message received confirmation

dcc_client/dcc_client/Session.vim

Lines changed: 31 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if &shortmess =~ 'A'
1313
else
1414
set shortmess=aoO
1515
endif
16-
badd +794 P2PClient.cpp
16+
badd +420 P2PClient.cpp
1717
badd +22 SettingsConsts.h
1818
badd +471 Main.cpp
1919
badd +31 P2PClient.h
@@ -88,76 +88,56 @@ normal! zo
8888
normal! zo
8989
353
9090
normal! zo
91-
385
91+
386
9292
normal! zo
93-
439
93+
442
9494
normal! zo
95-
458
95+
461
9696
normal! zo
97-
475
98-
normal! zo
99-
477
100-
normal! zo
101-
518
97+
478
10298
normal! zo
10399
521
104100
normal! zo
105-
529
106-
normal! zo
107-
563
108-
normal! zo
109-
573
110-
normal! zo
111-
628
112-
normal! zo
113-
634
114-
normal! zo
115-
662
116-
normal! zo
117-
680
118-
normal! zo
119-
749
120-
normal! zo
121-
773
101+
566
122102
normal! zo
123-
799
103+
572
124104
normal! zo
125-
810
105+
635
126106
normal! zo
127-
811
107+
669
128108
normal! zo
129-
840
109+
687
130110
normal! zo
131-
859
111+
756
132112
normal! zo
133-
915
113+
806
134114
normal! zo
135-
919
115+
817
136116
normal! zo
137-
954
117+
818
138118
normal! zo
139-
969
119+
847
140120
normal! zo
141-
1061
121+
906
142122
normal! zo
143-
1071
123+
952
144124
normal! zo
145-
1074
125+
961
146126
normal! zo
147-
1146
127+
1068
148128
normal! zo
149-
1180
129+
1153
150130
normal! zo
151-
1192
131+
1187
152132
normal! zo
153-
1200
133+
1199
154134
normal! zo
155-
let s:l = 794 - ((45 * winheight(0) + 28) / 56)
135+
let s:l = 630 - ((44 * winheight(0) + 28) / 56)
156136
if s:l < 1 | let s:l = 1 | endif
157137
keepjumps exe s:l
158138
normal! zt
159-
keepjumps 794
160-
normal! 048|
139+
keepjumps 630
140+
normal! 0
161141
tabnext
162142
edit P2PClient.h
163143
argglobal
@@ -410,17 +390,17 @@ normal! zo
410390
normal! zo
411391
346
412392
normal! zo
413-
420
393+
415
414394
normal! zo
415-
425
395+
423
416396
normal! zo
417-
450
397+
428
418398
normal! zo
419-
611
399+
575
420400
normal! zo
421-
620
401+
578
422402
normal! zo
423-
707
403+
614
424404
normal! zo
425405
let s:l = 344 - ((28 * winheight(0) + 28) / 56)
426406
if s:l < 1 | let s:l = 1 | endif

0 commit comments

Comments
 (0)