The motion [to withdraw from Afghanistan], which called upon the government to notify NATO allies immediately that Canada’s combat operations in southern Afghanistan will conclude in February 2009, was defeated 150-134 later in the day by Conservative and New Democratic Party MPs.
I find it very interesting that the NDP decided to support the government, given their opposition to the war. The article doesn't go into detail on the reason for their decision. However, I would be willing to bet that the NDP weighed the value of leaving Afghanistan and not rebuilding the country versus continuing the both the war and the rebuilding effort. They made the right decision as far as I am concerned.
Update @ 2:43pm: It would appear that my praise for the NDP was unwarranted. They supported the government because they want the troops out now and feel the Liberal motion does not go far enough. I should have known that weighing the importance of staying the course would not be something the NDP would do.