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 /frm | |
parent | e087da3a5bd065b015306d3a2dfaedd7b71b4e9b (diff) | |
download | mailutils-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ | |||
1 | /* GNU Mailutils -- a suite of utilities for electronic mail | 1 | /* GNU Mailutils -- a suite of utilities for electronic mail |
2 | Copyright (C) 1999, 2000, 2001, 2002, 2003, | 2 | Copyright (C) 1999, 2000, 2001, 2002, 2003, |
3 | 2004 Free Software Foundation, Inc. | 3 | 2004, 2005 Free Software Foundation, Inc. |
4 | 4 | ||
5 | GNU Mailutils is free software; you can redistribute it and/or modify | 5 | GNU Mailutils is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | 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) | |||
227 | break; | 227 | break; |
228 | 228 | ||
229 | case 's': | 229 | case 's': |
230 | select_attribute = decode_attr (optarg); | 230 | select_attribute = decode_attr (arg); |
231 | break; | 231 | break; |
232 | 232 | ||
233 | case 't': | 233 | case 't': |