Fix a case where empty candidate id is used

BUG=4161
R=juberti@webrtc.org

Committed: https://code.google.com/p/webrtc/source/detail?r=8071

Review URL: https://webrtc-codereview.appspot.com/35749004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@8079 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc
index 7b16a0c..9afaca6 100644
--- a/webrtc/p2p/base/p2ptransportchannel.cc
+++ b/webrtc/p2p/base/p2ptransportchannel.cc
@@ -516,7 +516,7 @@
         rtc::ToString<uint32>(rtc::ComputeCrc32(new_remote_candidate.id())));
 
     new_remote_candidate.set_priority(new_remote_candidate.GetPriority(
-        ICE_TYPE_PREFERENCE_SRFLX, port->Network()->preference(), 0));
+        ICE_TYPE_PREFERENCE_PRFLX, port->Network()->preference(), 0));
   }
 
   if (port->IceProtocol() == ICEPROTO_RFC5245) {