if(debug)printf("dispatch_AFC_packet: Length did not resemble what it was supposed to based on the packet.\nlength minus offset: %i\nrest of packet: %i\n",length-offset,client->afc_packet->entire_length-client->afc_packet->this_length);
if(debug){
fprintf(stderr,"dispatch_AFC_packet: Length did not resemble what it was supposed");
fprintf(stderr,"to based on the packet.\n");
fprintf(stderr,"length minus offset: %i\n",length-offset);
fprintf(stderr,"rest of packet: %i\n",client->afc_packet->entire_length-client->afc_packet->this_length);
}
free(buffer);
free(buffer);
return-1;
return-1;
}
}
if(debug)printf("dispatch_AFC_packet: fucked-up packet method (probably a write)\n");