Changes to gnats/gnats/file-pr.c
"Andrew J. Gray" <[email protected]> Sun, 26 Oct 2003 02:33:27 -0500
| Newsgroups | gmane.comp.bug-tracking.gnats.patches |
|---|---|
| Message-ID | <[email protected]> |
Index: gnats/gnats/file-pr.c
diff -c gnats/gnats/file-pr.c:1.53 gnats/gnats/file-pr.c:1.54
*** gnats/gnats/file-pr.c:1.53 Sat Aug 30 03:58:14 2003
--- gnats/gnats/file-pr.c Sun Oct 26 02:33:26 2003
***************
*** 130,136 ****
/* If originator wasn't set, try to get the value from the From mail
header. This is what users usually expect. */
{
! FieldIndex idx_origin = find_field_index (database, "Originator");
const char *value_origin = (idx_origin == InvalidFieldIndex
? NULL
: field_value (pr, idx_origin));
--- 130,136 ----
/* If originator wasn't set, try to get the value from the From mail
header. This is what users usually expect. */
{
! FieldIndex idx_origin = ORIGINATOR (database);
const char *value_origin = (idx_origin == InvalidFieldIndex
? NULL
: field_value (pr, idx_origin));