same fix as previous commit, but in another place.

This commit is contained in:
gardners 2012-11-30 20:03:53 +10:30
parent 5becae0136
commit 05745d9b9a

View File

@ -1069,8 +1069,7 @@ static int rhizome_fetch_mdp_requestmanifest(struct rhizome_fetch_slot *slot)
overlay_mdp_frame mdp;
bzero(&mdp,sizeof(mdp));
struct subscriber *me=find_subscriber(NULL,0,0);
memcpy(me->sid,mdp.out.src.sid,SID_SIZE);
memcpy(my_subscriber->sid,mdp.out.src.sid,SID_SIZE);
mdp.out.src.port=MDP_PORT_RHIZOME_RESPONSE;
bcopy(slot->peer_sid,mdp.out.dst.sid,SID_SIZE);
mdp.out.dst.port=MDP_PORT_RHIZOME_REQUEST;