Possible compatibility problems with earlier versions marked with '*'.
Added support for GNU readline in client. Thanks to Jacob Poulsen
-<ja7@groucho.dbc.bib.dk>. GNU configure attempts to detect if readline
-is available.
+<ja7@dbc.dk>. GNU configure attempts to detect if readline is available.
* CHANGED DEFINITION OF ES: UPDATE (INCLUDING THE OID) to reflect the
new definition from the ZIG. NOTE THIS IF YOU HAVE AN UPDATE
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: client.c,v $
- * Revision 1.76 1999-03-11 11:12:07 adam
+ * Revision 1.77 1999-03-11 15:26:51 adam
+ * Fixed bug (introduced by previous commit).
+ *
+ * Revision 1.76 1999/03/11 11:12:07 adam
* Added GNU readline support. HTML display in client.
*
* Revision 1.75 1999/02/01 15:37:32 adam
char* line_in;
line_in=readline(C_PROMPT);
#if HAVE_READLINE_HISTORY_H
- if (*line_in)
+ if (line && *line_in)
add_history(line_in);
#endif
strcpy(line,line_in);