/[mailutils]/mailutils/mail/util.c
ViewVC logotype

Diff of /mailutils/mail/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.48 by gray, Tue Nov 5 13:45:42 2002 UTC revision 1.49 by gray, Wed Nov 13 08:28:06 2002 UTC
# Line 104  util_do_command (const char *c, ...) Line 104  util_do_command (const char *c, ...)
104            return 0;            return 0;
105          }          }
106    
       /* Hitting return i.e. no command, is equivalent to next  
          according to the POSIX spec.  */  
107        if (cmd[0] == '\0')        if (cmd[0] == '\0')
108          {          {
109            free (cmd);            free (cmd);
110            cmd = strdup ("next");            
111              /* Hitting return i.e. no command, is equivalent to next
112                 according to the POSIX spec. Note, that this applies
113                 to interactive state only. */
114              if (interactive)
115                cmd = strdup ("next");
116              else
117                return 0;
118          }          }
119    
120        if (argcv_get (cmd, delim, NULL, &argc, &argv) == 0)        if (argcv_get (cmd, delim, NULL, &argc, &argv) == 0)

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26