summaryrefslogtreecommitdiffabout
path: root/libmu_scm
authorSergey Poznyakoff <gray@gnu.org.ua>2004-06-12 10:27:09 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2004-06-12 10:27:09 (GMT)
commit84ace43c70d369c34fd8b6e4eb0c242eef859b76 (patch) (side-by-side diff)
tree66999cb57c79e97c56d7d27845b52b2b9e936aae /libmu_scm
parente509ce1f1001802e60ce2bbc3e05fe0381829e2a (diff)
downloadmailutils-84ace43c70d369c34fd8b6e4eb0c242eef859b76.tar.gz
mailutils-84ace43c70d369c34fd8b6e4eb0c242eef859b76.tar.bz2
Revised use of const modifiers
Diffstat (limited to 'libmu_scm') (more/less context) (ignore whitespace changes)
-rw-r--r--libmu_scm/mu_mailbox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmu_scm/mu_mailbox.c b/libmu_scm/mu_mailbox.c
index 0c97fd5..4006a52 100644
--- a/libmu_scm/mu_mailbox.c
+++ b/libmu_scm/mu_mailbox.c
@@ -51,7 +51,6 @@ mu_scm_mailbox_print (SCM mailbox_smob, SCM port, scm_print_state * pstate)
struct mu_mailbox *mum = (struct mu_mailbox *) SCM_CDR (mailbox_smob);
size_t count = 0;
url_t url = NULL;
- char *p;
mailbox_messages_count (mum->mbox, &count);
mailbox_get_url (mum->mbox, &url);
@@ -65,7 +64,7 @@ mu_scm_mailbox_print (SCM mailbox_smob, SCM port, scm_print_state * pstate)
}
else
{
- p = url_to_string (url);
+ const char *p = url_to_string (url);
if (p)
{
char buf[64];

Return to:

Send suggestions and report system problems to the System administrator.