Usually, if you are taking the same airline (on a single reservation) you will make it through and if it is very tight they may have special personnel waiting to transfer you. In the worst case it is their responsibility to get you on the next flight free.