MCPcopy Create free account
hub / github.com/NetHack/NetHack / dobugreport

Function dobugreport

src/report.c:460–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460int
461dobugreport(void)
462{
463 if (!submit_web_report(2, NULL, "#bugreport command")) {
464 pline("Unable to send bug report. Please visit %s instead.",
465 (sysopt.crashreporturl && *sysopt.crashreporturl)
466 ? sysopt.crashreporturl
467 : DEVTEAM_URL
468 );
469 }
470 return ECMD_OK;
471}
472
473#undef SWR_ADD
474#undef SWR_ADD_URIcoded

Callers

nothing calls this directly

Calls 2

submit_web_reportFunction · 0.85
plineFunction · 0.70

Tested by

no test coverage detected