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