View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004602 | libmicrohttpd | documentation | public | 2016-07-16 20:43 | 2016-08-12 16:20 |
| Reporter | jfierro | Assigned To | Christian Grothoff | ||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.9.48 | ||||
| Target Version | 0.9.51 | Fixed in Version | 0.9.51 | ||
| Summary | 0004602: The minimal example does not compile. | ||||
| Description | The minimal example on https://www.gnu.org/software/libmicrohttpd/ does not compile cleanly as the getc() function expects a (FILE *) argument. Change to getchar() or getc(stdin) to fix. | ||||
| Additional Information | int main(int argc, char ** argv) { struct MHD_Daemon * d; if (argc != 2) { printf("%s PORT\n", argv[0]); return 1; } d = MHD_start_daemon(MHD_USE_THREAD_PER_CONNECTION, atoi(argv[1]), NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END); if (d == NULL) return 1; (void) getc (); /* >>>>>> Compilation Error <<<<<< */ MHD_stop_daemon(d); return 0; } | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-07-16 20:43 | jfierro | New Issue | |
| 2016-08-10 14:24 | silvioprog | Note Added: 0011014 | |
| 2016-08-12 16:20 | Christian Grothoff | Note Added: 0011028 | |
| 2016-08-12 16:20 | Christian Grothoff | Status | new => resolved |
| 2016-08-12 16:20 | Christian Grothoff | Fixed in Version | => 0.9.51 |
| 2016-08-12 16:20 | Christian Grothoff | Resolution | open => fixed |
| 2016-08-12 16:20 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2016-08-12 16:20 | Christian Grothoff | Status | resolved => closed |
| 2016-08-12 16:20 | Christian Grothoff | Product Version | => 0.9.48 |
| 2016-08-12 16:20 | Christian Grothoff | Target Version | => 0.9.51 |