Daily doxycycline taken prophylactically was associated with a decreased incidence of N. gonorrhoeae , C. trachomatis , or syphilis incident infections among a core group of HIV-infected MSM at high risk for these infections .