summaryrefslogtreecommitdiff
path: root/frm
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 /frm
parente087da3a5bd065b015306d3a2dfaedd7b71b4e9b (diff)
downloadmailutils-a0cad4991408f9b426a92d5ef3da2e1678f70315.tar.gz
mailutils-a0cad4991408f9b426a92d5ef3da2e1678f70315.tar.bz2
(parse_opt): Bugfix. Was using optarg instead of arg
Diffstat (limited to 'frm')
-rw-r--r--frm/frm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frm/frm.c b/frm/frm.c
index 52dd331de..f203b2e14 100644
--- a/frm/frm.c
+++ b/frm/frm.c
@@ -1,9 +1,9 @@
/* 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
the Free Software Foundation; either version 2, or (at your option)
any later version.
@@ -224,13 +224,13 @@ parse_opt (int key, char *arg, struct argp_state *state)
case 'S':
show_summary = 1;
break;
case 's':
- select_attribute = decode_attr (optarg);
+ select_attribute = decode_attr (arg);
break;
case 't':
align = 1;
break;

Return to:

Send suggestions and report system problems to the System administrator.