[sr-dev] git:master: core: fixed small bug in main.c