Modify

Opened 4 years ago

Last modified 4 years ago

#15093 new defect

cmdpad: no command found for key (bugfix)

Reported by: cfb95 Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: cmdpad bugfix Cc:

Description

Hi,
the package cmdpad have a little bug in the file parse.c, in function ParseCommand, at/near line 260:
the format specifier for sscanf is "%d" and must be "%hu" for data type unsigned short:

if( (pchValue == NULL ) || ( sscanf( pchValue, "%hu", &code) != 1) )  

this correction must solve the problem related to message
no command found for key <code>, event PRESS/RELEASE/REPEAT

Thanks for your great job at OpenWrt

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.