by Michael Calmer.
ticket: 3000
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17166
dc483132-0cff-0310-8789-
dd5450dbe970
+2005-04-05 Ken Raeburn <raeburn@mit.edu>
+
+ * commands.c (shell): Change 0 to (char*)NULL in execl calls.
+ Patch provided by Michael Calmer.
+
2005-03-28 Tom Yu <tlyu@mit.edu>
* telnet.c (slc_add_reply, slc_end_reply): Fix buffer overflow
else
shellname++;
if (argc > 1)
- execl(shellp, shellname, "-c", &saveline[1], 0);
+ execl(shellp, shellname, "-c", &saveline[1], (char *)NULL);
else
- execl(shellp, shellname, 0);
+ execl(shellp, shellname, (char *)NULL);
perror("Execl");
_exit(1);
}