Ex-San Diego deputy sentenced to jail for illegal gun sales