The military does care what your degree is in and what kind of a degree.
The Officer Recruiters do have quotas for fields, if you do not have a degree in what is wanted your chance of getting in are near nil.
From experience, when the Recruiter saw that you were on track for a CS degree they more than likely had spots that were not going to be filled.
If your degree was in Art History the situation more than likely would have been different.
Sorta like recruiting fairs at schools, everyone has a chance. But some recruitees have more chips and chances than others.