fix a bug in sentinel.c about pub/sub link
Merge pull request #1401 from huangz1990/fix_sentinel_bug

fix a bug in sentinel.c about pub/sub link