From: Carl Worth Date: Tue, 31 May 2011 23:20:56 +0000 (-0700) Subject: Rename signerstatustostring to signer_status_to_string X-Git-Tag: debian/0.6_254~80 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=1a96c4078cd24ac51788f07fb0e2e745dc680681 Rename signerstatustostring to signer_status_to_string Otherwise, it's fartoohardformetoreadthis code. --- 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) {