[Date Prev][Date Next] [Chronological] [Thread] [Top]

Small improvement (clients/ud/mod.c) (ITS#354)



Full_Name: Zoe Gurevich
Version: openldap_rel_1_2
OS: SunOS Release 5.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (209.20.237.187)


Zoe-Gurevich-991104-mod.c.patch

During modifications, do not ask for "... an additional value?"
if the first value was NULL.  No code has been added, instead
checking for the "null" value has been moved UP.

Like in:

  You may now:
    Add additional values to the existing ones, OR
    Clear all values listed above, OR
    Delete one of the values listed above, OR
    Replace all of the values above with new ones.

  Add, Clear, Delete, or Replace? a

  Enter the value you wish to add:
 1: 
  Add an additional value? 
  No modification made.