Changes to gnats/gnats/file-pr.c
Yngve Svendsen <[email protected]> Mon, 28 Oct 2002 17:57:51 -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.48 gnats/gnats/file-pr.c:1.49
*** gnats/gnats/file-pr.c:1.48 Thu Oct 24 08:45:09 2002
--- gnats/gnats/file-pr.c Mon Oct 28 17:57:50 2002
***************
*** 446,452 ****
while (fields != NULL)
{
const char *fldval = get_field_value (pr, NULL, fields->ent, NULL, NULL);
! if (fldval == NULL || *fldval == '\0')
{
setError (err, CODE_INVALID_PR_CONTENTS,
"Required field %s missing from new PR - cannot submit.",
--- 446,452 ----
while (fields != NULL)
{
const char *fldval = get_field_value (pr, NULL, fields->ent, NULL, NULL);
! if (value_is_empty (fldval))
{
setError (err, CODE_INVALID_PR_CONTENTS,
"Required field %s missing from new PR - cannot submit.",