Small changes
Small changes

1, if() {}style
2, deleted the unnecessary *ptr_t

gwAdvNet2015/adv-net-samples,zhangwei1984/adv-net-samples,gwAdvNet2015/adv-net-samples,twood02/adv-net-samples,gwAdvNet2015/adv-net-samples,twood02/adv-net-samples,zhangwei1984/adv-net-samples,twood02/adv-net-samples,twood02/adv-net-samples,twood02/adv-net-samples,zhangwei1984/adv-net-samples,gwAdvNet2015/adv-net-samples,gwAdvNet2015/adv-net-samples,twood02/adv-net-samples,zhangwei1984/adv-net-samples,gwAdvNet2015/adv-net-samples