projects
/
my-code
/
ivac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b5512e7
)
also memset challenger struct when receiving quit
author
hackbard
<hackbard>
Tue, 11 May 2004 07:54:19 +0000
(07:54 +0000)
committer
hackbard
<hackbard>
Tue, 11 May 2004 07:54:19 +0000
(07:54 +0000)
src/ivac.c
patch
|
blob
|
history
diff --git
a/src/ivac.c
b/src/ivac.c
index
0108131
..
4fede22
100644
(file)
--- a/
src/ivac.c
+++ b/
src/ivac.c
@@
-179,6
+179,7
@@
int ivac_receive_info(int channel,t_ivac *ivac) {
event_math(ivac->net.connection[channel].fd,&(ivac->event),
READ,REMOVE);
network_close(&(ivac->net),channel);
+ memset(&(ivac->challenger[channel]),0,sizeof(t_challenger));
default:
puts("[ivac] ivac_receive_info, unknown character");
return ERROR;