Fixes so alerts are sent properly in s3_pkt.c

PR: 851
2 files changed