Re: [PATCH 3/4] builtin/am: read mailinfo from file From: Matthieu Moy <hidden> Date: 2016-06-16 02:18:41 "Michael S. Tsirkin" [off-list ref] writes: - strbuf_addbuf(&msg, &mi.log_message); + + if (strbuf_read_file(&log_msg, am_path(state, "msg"), 0) < 0) { + die_errno(_("could not read '%s'"), am_path(state, "msg")); + } Style: we omit the braces where not needed. -- Matthieu Moy http://www-verimag.imag.fr/~moy/
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help