Closed Bug 970569 Opened 10 years ago Closed 10 years ago

Fix crasher introduced by bug 928930

Categories

(Core :: WebRTC: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: ekr, Assigned: ekr)

References

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
Attached patch Patch (obsolete) — Splinter Review
Blocks: 928930
Summary: Patch → Fix crasher introduced by bug 928930
Attachment #8373637 - Flags: review?(docfaraday)
Comment on attachment 8373637 [details] [diff] [review]
Patch

Review of attachment 8373637 [details] [diff] [review]:
-----------------------------------------------------------------

Don't have quite enough context to say for sure whether this will fix the crash we were seeing, but things look better if only due to the conversion of transport_. A couple of very minor nits that I don't care that much about, but should at least point out.

::: media/mtransport/nricectx.cpp
@@ +188,5 @@
>  
>  
>  
>  nsresult NrIceStunServer::ToNicerStunStruct(nr_ice_stun_server *server,
> +                                            const std::string& transport) const {

Placement of '&' is inconsistent.

::: media/mtransport/nricectx.h
@@ +102,5 @@
>      return server.forget();
>    }
>  
>    nsresult ToNicerStunStruct(nr_ice_stun_server *server,
> +                             const std::string& transport =

Placement of '&' inconsistent.
Attachment #8373637 - Flags: review?(docfaraday) → review+
Attached patch PatchSplinter Review
Attachment #8373637 - Attachment is obsolete: true
Comment on attachment 8373661 [details] [diff] [review]
Patch

Review of attachment 8373661 [details] [diff] [review]:
-----------------------------------------------------------------

Fine by me.
Attachment #8373661 - Flags: review+
Whiteboard: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/de1c051de2d2
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: