gnats-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to gnats/gnats/edit.c


From: Andrew J. Gray
Subject: Changes to gnats/gnats/edit.c
Date: Thu, 24 Oct 2002 08:45:10 -0400

Index: gnats/gnats/edit.c
diff -c gnats/gnats/edit.c:1.57 gnats/gnats/edit.c:1.58
*** gnats/gnats/edit.c:1.57     Sun Aug  4 06:58:04 2002
--- gnats/gnats/edit.c  Thu Oct 24 08:45:09 2002
***************
*** 1104,1110 ****
  
    while (fields != NULL)
      {
!       if (get_field_value (pr, oldPR, fields->ent, NULL, NULL) == NULL)
        {
          setError (err, CODE_INVALID_PR_CONTENTS,
                    "Required field %s missing from PR %s.",
--- 1104,1111 ----
  
    while (fields != NULL)
      {
!       const char *fldval = get_field_value (pr, oldPR, fields->ent, NULL, 
NULL);
!       if (fldval == NULL || *fldval == '\0')
        {
          setError (err, CODE_INVALID_PR_CONTENTS,
                    "Required field %s missing from PR %s.",




reply via email to

[Prev in Thread] Current Thread [Next in Thread]