buglwIP - A Lightweight TCP/IP stack - Bugs: bug #32561, tcp_poll argument definition...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #32561: tcp_poll argument definition out-of-order in documentation

Submitted by:  Dave Rea <davidrea>
Submitted on:  Mon 21 Feb 2011 07:13:13 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Compiler WarningStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: Other

Mon 21 Feb 2011 07:30:44 PM UTC, comment #1:

Well spotted!
Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 21 Feb 2011 07:13:13 PM UTC, original submission:

Using lwip-1.3.2 as packaged with StellarisWare by Luminary Micro / Texas Instruments.

rawapi.txt provides the following function signature:

void tcp_poll(struct tcp_pcb pcb, u8_t interval, err_t ( poll)(void arg, struct tcp_pcb tpcb))

However, the actual signature in tcp.h is:

void tcp_poll (struct tcp_pcb pcb, err_t ( poll)(void arg, struct tcp_pcb tpcb), u8_t interval);

The 2nd and 3rd arguments appear to be reversed in the documentation. This appears to still be the case at the current HEAD.

Dave Rea <davidrea>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by davidrea (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 21 Feb 2011 07:30:44 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1