As the cervix opens, a thick mucus plug with a tint of blood is discharged. It indicates that your labor is closer. However, if the discharge has a foul smell, then it might indicate a vaginal infection that can affect your baby inside. Inform the doctor in such a case.