summaryrefslogtreecommitdiff
path: root/readmsg
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-02-23 16:01:34 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-02-23 16:01:34 +0000
commita0cad4991408f9b426a92d5ef3da2e1678f70315 (patch)
tree152cd979cd4dec617258356b60c7be10a62db32e /readmsg
parente087da3a5bd065b015306d3a2dfaedd7b71b4e9b (diff)
downloadmailutils-a0cad4991408f9b426a92d5ef3da2e1678f70315.tar.gz
mailutils-a0cad4991408f9b426a92d5ef3da2e1678f70315.tar.bz2
(parse_opt): Bugfix. Was using optarg instead of arg
Diffstat (limited to 'readmsg')
-rw-r--r--readmsg/readmsg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/readmsg/readmsg.c b/readmsg/readmsg.c
index 77c8f72ac..f7f247b66 100644
--- a/readmsg/readmsg.c
+++ b/readmsg/readmsg.c
@@ -1,6 +1,6 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002, 2003,
- 2004 Free Software Foundation, Inc.
+ 2004, 2005 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -88,11 +88,11 @@ readmsg_parse_opt (int key, char *arg, struct argp_state *astate)
break;
case 'f':
- mailbox_name = optarg;
+ mailbox_name = arg;
break;
case 'w':
- weedlist = optarg;
+ weedlist = arg;
break;
case 'n':

Return to:

Send suggestions and report system problems to the System administrator.