Minor fix for src/common/resources.hpp to deal with looping error (contributed by Charles Reiss).
Minor fix for src/common/resources.hpp to deal with looping error (contributed by Charles Reiss).

git-svn-id: 03d7800a49d8905ef4fbcc296184319e19243493@1234665 13f79535-47bb-0310-9956-ffa450edef68

andschwa/mesos,Gilbert88/mesos,abudnik/mesos,enachb/mesos,neilconway/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,gsantovena/mesos,craimbert/mesos,Gilbert88/mesos,abudnik/mesos,zmalik/mesos,craimbert/mesos,kaysoky/mesos,neilconway/mesos,craimbert/mesos,verizonlabs/mesos,abudnik/mesos,neilconway/mesos,woggle/mesos-old,Gilbert88/mesos,yuquanshan/customizedMesos,enachb/mesos,wickman/mesos,asamerh4/mesos,zmalik/mesos,yuquanshan/customizedMesos,asamerh4/mesos,jpeach/mesos,yuquanshan/customizedMesos,samwhitlock/mesos-monitoring,neilconway/mesos,woggle/mesos-old,reneploetz/mesos,woggle/mesos-old,zmalik/mesos,woggle/mesos-old,zmalik/mesos,woggle/mesos-old,dforsyth/mesos,andschwa/mesos,zmalik/mesos,craimbert/mesos,woggle/mesos-old,woggle/mesos-old,gsantovena/mesos,wickman/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,craimbert/mesos,Aman-Jain-14/customizedMesos,wickman/mesos,verizonlabs/mesos,asamerh4/mesos,asamerh4/mesos,abudnik/mesos,wickman/mesos,asamerh4/mesos,woggle/mesos-old,jpeach/mesos,yuquanshan/customizedMesos,kaysoky/mesos,andschwa/mesos,yuquanshan/customizedMesos,enachb/mesos,reneploetz/mesos,chhsia0/mesos,verizonlabs/mesos,samwhitlock/mesos-monitoring,chhsia0/mesos,chhsia0/mesos,Aman-Jain-14/customizedMesos,wickman/mesos,chhsia0/mesos,zmalik/mesos,zmalik/mesos,dforsyth/mesos,craimbert/mesos,verizonlabs/mesos,Gilbert88/mesos,abudnik/mesos,gsantovena/mesos,samwhitlock/mesos-monitoring,dforsyth/mesos,wickman/mesos,neilconway/mesos,asamerh4/mesos,Gilbert88/mesos,dforsyth/mesos,chhsia0/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,gsantovena/mesos,andschwa/mesos,jpeach/mesos,jpeach/mesos,reneploetz/mesos,kaysoky/mesos,woggle/mesos-old,samwhitlock/mesos-monitoring,verizonlabs/mesos,yuquanshan/customizedMesos,craimbert/mesos,gsantovena/mesos,abudnik/mesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,abudnik/mesos,Aman-Jain-14/customizedMesos,jpeach/mesos,wickman/mesos,samwhitlock/mesos-monitoring,jpeach/mesos,chhsia0/mesos,dforsyth/mesos,enachb/mesos,andschwa/mesos,kaysoky/mesos,neilconway/mesos,asamerh4/mesos,neilconway/mesos,enachb/mesos,enachb/mesos,verizonlabs/mesos,verizonlabs/mesos,reneploetz/mesos,Gilbert88/mesos,dforsyth/mesos,enachb/mesos,dforsyth/mesos,samwhitlock/mesos-monitoring,kaysoky/mesos,kaysoky/mesos,gsantovena/mesos,chhsia0/mesos,reneploetz/mesos,reneploetz/mesos,gsantovena/mesos,reneploetz/mesos,andschwa/mesos,andschwa/mesos