diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-02-23 16:01:34 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-02-23 16:01:34 +0000 |
commit | a0cad4991408f9b426a92d5ef3da2e1678f70315 (patch) | |
tree | 152cd979cd4dec617258356b60c7be10a62db32e /readmsg | |
parent | e087da3a5bd065b015306d3a2dfaedd7b71b4e9b (diff) | |
download | mailutils-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.c | 6 |
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': |