lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #8811] dns: Remove always true test in dns_alloc_ran


From: Axel Lin
Subject: [lwip-devel] [patch #8811] dns: Remove always true test in dns_alloc_random_port
Date: Fri, 27 Nov 2015 15:43:56 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36

URL:
  <http://savannah.nongnu.org/patch/?8811>

                 Summary: dns: Remove always true test in
dns_alloc_random_port
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: axellin
            Submitted on: Fri 27 Nov 2015 03:43:55 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

The only way to exit the do-while loop is err != ERR_USE.
Thus get rid of the always true test.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 27 Nov 2015 03:43:55 PM GMT  Name:
0001-dns-Remove-always-true-test-in-dns_alloc_random_port.patch  Size: 808B  
By: axellin

<http://savannah.nongnu.org/patch/download.php?file_id=35580>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8811>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]