So, in trying to put in MXP in the most recent SmaugFUSS-1.9 version, I've run into an issue (which is somewhat embarrassing, since I had MXP working awhile ago, before a computer crash + data loss). I've got the code to compile correctly, but I had had to change all instances of 'unsigned char' to just 'char' because, well, that seems to be what the fine folks in charge of the SmaugFUSS project have wanted to do.
Now the code compiles fine and dandy and everything, but the 'turning MXP on' thing doesn't seem to be working at all. A quick use of bug-messages shows that neither of the lines
and
ever are true, which leads me to think that I'm not sending the MXP request to the client correctly with
Any help?
Now the code compiles fine and dandy and everything, but the 'turning MXP on' thing doesn't seem to be working at all. A quick use of bug-messages shows that neither of the lines
if (memcmp (p, do_mxp_str, strlen (do_mxp_str)) == 0)and
else if (memcmp (p, dont_mxp_str, strlen (dont_mxp_str)) == 0)ever are true, which leads me to think that I'm not sending the MXP request to the client correctly with
write_to_buffer( d, will_mxp_str, 0 );Any help?