aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-show.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2011-05-31 16:20:56 -0700
committerGravatar Carl Worth <cworth@cworth.org>2011-05-31 16:20:56 -0700
commit1a96c4078cd24ac51788f07fb0e2e745dc680681 (patch)
tree8275ee1b7bd4ce96f6212699f6707e7207e41b52 /notmuch-show.c
parent2d1356e8dbfbf0361233b38e4fac030b86c4e03e (diff)
Rename signerstatustostring to signer_status_to_string
Otherwise, it's fartoohardformetoreadthis code.
Diffstat (limited to 'notmuch-show.c')
-rw-r--r--notmuch-show.c6
1 files 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)
{