Mercurial > hg > sidinfo
changeset 31:727c012d5de4
Rename a function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 26 Sep 2014 00:16:18 +0300 |
parents | 8f2855f9300c |
children | 93a432519b84 |
files | sidinfo.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Thu Sep 25 18:08:52 2014 +0300 +++ b/sidinfo.c Fri Sep 26 00:16:18 2014 +0300 @@ -409,7 +409,7 @@ } -static void siPrintLinePrefix(FILE *outFile, const char *name) +static void siPrintFieldPrefix(FILE *outFile, const char *name) { if (!optNoNamePrefix) fprintf(outFile, optParsable ? "%s=" : "%-20s : ", name); @@ -424,7 +424,7 @@ va_list ap; const char *fmt = optHexadecimal ? (xaltfmt != NULL ? xaltfmt : xfmt) : xfmt; - siPrintLinePrefix(outFile, (optParsable || opt->lname == NULL) ? opt->name : opt->lname); + siPrintFieldPrefix(outFile, (optParsable || opt->lname == NULL) ? opt->name : opt->lname); va_start(ap, xaltfmt); @@ -465,7 +465,7 @@ if (optFields & PSF_HASH) { - siPrintLinePrefix(outFile, "Hash"); + siPrintFieldPrefix(outFile, "Hash"); th_md5_print(outFile, psid->hash); fprintf(outFile, optOneLine ? "|" : "\n"); }