Fix an issue in trunk with captions
When a browse command is issued multiple files are returned. As soon as one had a caption, all files were marked as having captions because the flag wasn't cleared. Signed-off-by: Justin Maggard <jmaggard@netgear.com>
This commit is contained in:
parent
acac5fb3bc
commit
f09339d95c
@ -39,6 +39,7 @@
|
||||
#define FLAG_CAPTION_RES 0x00001000
|
||||
/* Response-related flags */
|
||||
#define FLAG_HAS_CAPTIONS 0x80000000
|
||||
#define RESPONSE_FLAGS 0xF0000000
|
||||
|
||||
enum match_types {
|
||||
EMatchNone,
|
||||
|
@ -812,6 +812,7 @@ callback(void *args, int argc, char **argv, char **azColName)
|
||||
#endif
|
||||
}
|
||||
passed_args->returned++;
|
||||
passed_args->flags &= ~RESPONSE_FLAGS;
|
||||
|
||||
if( strncmp(class, "item", 4) == 0 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user