Wireshark-commits: [Wireshark-commits] master 751df4e: Try to fix interface property fetching.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 19 Mar 2015 23:28:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=751df4e1fdb29f00c50ec48186b896b79395ad24
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

751df4e by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Try to fix interface property fetching.
    
    Use g_strdup instead of calculating string lengths manually. Return NULL
    for empty strings, otherwise lo0 shows up as ": lo0" instead of
    "Loopback: lo0" here.
    
    Change-Id: I143aa5e12c9512b7a9f4729b62b353c13ee3635a
    Reviewed-on: https://code.wireshark.org/review/7764
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  bc06ca2   Revert "Revert "TCP: tabs -> spaces""
    adds  751df4e   Try to fix interface property fetching.


Summary of changes:
 ui/capture_ui_utils.c |   17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)