summaryrefslogtreecommitdiffabout
path: root/frm
authorSergey Poznyakoff <gray@gnu.org.ua>2005-02-23 16:01:34 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2005-02-23 16:01:34 (GMT)
commita0cad4991408f9b426a92d5ef3da2e1678f70315 (patch) (side-by-side diff)
tree152cd979cd4dec617258356b60c7be10a62db32e /frm
parente087da3a5bd065b015306d3a2dfaedd7b71b4e9b (diff)
downloadmailutils-a0cad4991408f9b426a92d5ef3da2e1678f70315.tar.gz
mailutils-a0cad4991408f9b426a92d5ef3da2e1678f70315.tar.bz2
(parse_opt): Bugfix. Was using optarg instead of arg
Diffstat (limited to 'frm') (more/less context) (ignore whitespace changes)
-rw-r--r--frm/frm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frm/frm.c b/frm/frm.c
index 52dd331..f203b2e 100644
--- a/frm/frm.c
+++ b/frm/frm.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
@@ -227,7 +227,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
break;
case 's':
- select_attribute = decode_attr (optarg);
+ select_attribute = decode_attr (arg);
break;
case 't':

Return to:

Send suggestions and report system problems to the System administrator.