summaryrefslogtreecommitdiff
path: root/libmu_scm/mu_util.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-04-14 11:36:52 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-04-14 11:38:41 +0300
commit94adc8f49244e0abfd3ac47e0cfb2af2a063adc5 (patch)
treea58a72081ee281f55bedf322e0f77b90da13ad4a /libmu_scm/mu_util.c
parent49e121acc32a38b2d618cfd0544de349618c2bb1 (diff)
downloadmailutils-94adc8f49244e0abfd3ac47e0cfb2af2a063adc5.tar.gz
mailutils-94adc8f49244e0abfd3ac47e0cfb2af2a063adc5.tar.bz2
Further improvements in the Guile-related code.
* gint: Upgrade. * libmu_scm/Makefile.am: Initialize BUILT_SOURCES. * libmu_scm/mu_address.c (address_get_fp): Change signature to match those of mu_address_aget family. (all functions): Use functions from mu_address_aget family. Downcase argument names. Refer to them in the docstring using @var notation. * libmu_scm/mu_body.c: Downcase argument names. Refer to them in the docstring using @var notation. * libmu_scm/mu_logger.c: Likewise. * libmu_scm/mu_mailbox.c: Likewise. * libmu_scm/mu_message.c: Likewise. * libmu_scm/mu_mime.c: Likewise. * libmu_scm/mu_scm.c: Likewise. * libmu_scm/mu_util.c: Likewise.
Diffstat (limited to 'libmu_scm/mu_util.c')
-rw-r--r--libmu_scm/mu_util.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libmu_scm/mu_util.c b/libmu_scm/mu_util.c
index bdf3aca78..8f3b2323a 100644
--- a/libmu_scm/mu_util.c
+++ b/libmu_scm/mu_util.c
@@ -20,8 +20,8 @@
#include "mu_scm.h"
SCM_DEFINE_PUBLIC (scm_mu_getpwuid, "mu-getpwuid", 1, 0, 0,
- (SCM USER),
-"Look up an entry in the user database. USER can be an integer,\n"
+ (SCM user),
+"Look up an entry in the user database. @var{User} can be an integer,\n"
"or a string, giving the behaviour of @code{mu_get_auth_by_uid} or\n"
"@code{mu_get_auth_by_name} respectively.\n"
"\n"
@@ -39,16 +39,16 @@ SCM_DEFINE_PUBLIC (scm_mu_getpwuid, "mu-getpwuid", 1, 0, 0,
&handle,
NULL, NULL);
- if (scm_is_integer (USER))
+ if (scm_is_integer (user))
{
- entry = mu_get_auth_by_uid (scm_to_int32 (USER));
+ entry = mu_get_auth_by_uid (scm_to_int (user));
}
else
{
char *s;
- SCM_VALIDATE_STRING (1, USER);
- s = scm_to_locale_string (USER);
+ SCM_VALIDATE_STRING (1, user);
+ s = scm_to_locale_string (user);
entry = mu_get_auth_by_name (s);
free (s);
}

Return to:

Send suggestions and report system problems to the System administrator.