Show
Ignore:
Timestamp:
03/09/10 19:00:38 (3 years ago)
Author:
blogic
Message:

move lots of code around and rename some functions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci2/cbi2/widgets/luci/file.c

    r5780 r5781  
    44{ 
    55    json_object *j = json_object_new_object(); 
    6     const char *type = cbi_find_prop(e, "type"); 
     6    const char *type = cbi_prop_find(e, "type"); 
    77    json_object_object_add(j, "type", json_object_new_string((type)?(type):("package"))); 
    88    return j;