Download raw body.
fix typo in error msg and reflow lines
2/4: s/unlock/lock in error message and unwrap a couple error lines that fit inside 80 columns commit 31edaabd1e26d490a3027877ed29eb5e10a8e72a from: Mark Jamsek <mark@jamsek.dev> date: Tue Dec 3 05:51:30 2024 UTC tog: s/unlock/lock error message typo and reflow lines M tog/tog.c | 2+ 4- 1 file changed, 2 insertions(+), 4 deletions(-) commit - 49e5ef007b04dcaf4503fe9bf4fb1b71ef7b75a9 commit + 31edaabd1e26d490a3027877ed29eb5e10a8e72a blob - da4acdccedd58c23eba516b9873506c7b2cdf4c2 blob + 6a3ab601e381f4509dc6b047a59a9213328afbc9 --- tog/tog.c +++ tog/tog.c @@ -6840,16 +6840,14 @@ cancel_blame_view(void *arg) errcode = pthread_mutex_lock(&tog_mutex); if (errcode) - return got_error_set_errno(errcode, - "pthread_mutex_unlock"); + return got_error_set_errno(errcode, "pthread_mutex_lock"); if (*done) err = got_error(GOT_ERR_CANCELLED); errcode = pthread_mutex_unlock(&tog_mutex); if (errcode) - return got_error_set_errno(errcode, - "pthread_mutex_lock"); + return got_error_set_errno(errcode, "pthread_mutex_unlock"); return err; } -- Mark Jamsek <https://bsdbox.org> GPG: F2FF 13DE 6A06 C471 CA80 E6E2 2930 DC66 86EE CF68
fix typo in error msg and reflow lines