From 1a96c4078cd24ac51788f07fb0e2e745dc680681 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 31 May 2011 16:20:56 -0700 Subject: [PATCH] Rename signerstatustostring to signer_status_to_string Otherwise, it's fartoohardformetoreadthis code. --- notmuch-show.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/notmuch-show.c b/notmuch-show.c index b9a41cc6..3ac29597 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -420,7 +420,7 @@ show_text_part_content (GMimeObject *part, GMimeStream *stream_out) } static const char* -signerstatustostring (GMimeSignerStatus x) +signer_status_to_string (GMimeSignerStatus x) { switch (x) { case GMIME_SIGNER_STATUS_NONE: @@ -546,7 +546,9 @@ format_part_sigstatus_json (const GMimeSignatureValidity* validity) printf ("{"); /* status */ - printf ("\"status\": %s", json_quote_str (ctx_quote, signerstatustostring(signer->status))); + printf ("\"status\": %s", + json_quote_str (ctx_quote, + signer_status_to_string (signer->status))); if (signer->status == GMIME_SIGNER_STATUS_GOOD) {