Check-in [53ba1f2950]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Usage text correction (wrong parameter name) in (json report get).
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 53ba1f2950b825c5680060d58aa414bb1dd85b4e
User & Date: stephan 2012-02-12 11:30:52.290
Context
2012-02-12
12:41
moved an incorrectly placed assertion in (json wiki save). check-in: 4272d03e32 user: stephan tags: trunk
11:30
Usage text correction (wrong parameter name) in (json report get). check-in: 53ba1f2950 user: stephan tags: trunk
11:04
minor doc clarification for the previous commit. check-in: f42096f7ca user: stephan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/json_report.c.
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
    json_set_err(FSL_JSON_E_DENIED,
                 "Requires 't' privileges.");
    return NULL;
  }
  nReport = json_report_get_number(3);
  if(nReport <=0){
    json_set_err(FSL_JSON_E_MISSING_ARGS,
                 "Missing or invalid 'number' (-n) parameter.");
    return NULL;
  }

  db_prepare(&q,"SELECT rn AS report,"
             " owner AS owner,"
             " title AS title,"
             " cast(strftime('%%s',mtime) as int) as mtime,"







|







92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
    json_set_err(FSL_JSON_E_DENIED,
                 "Requires 't' privileges.");
    return NULL;
  }
  nReport = json_report_get_number(3);
  if(nReport <=0){
    json_set_err(FSL_JSON_E_MISSING_ARGS,
                 "Missing or invalid 'report' (-r) parameter.");
    return NULL;
  }

  db_prepare(&q,"SELECT rn AS report,"
             " owner AS owner,"
             " title AS title,"
             " cast(strftime('%%s',mtime) as int) as mtime,"