(ss_listen): fix typo

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8293 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-05-25 00:14:58 +00:00
parent 40128888ce
commit 7306f07b7c

View File

@@ -138,7 +138,7 @@ int
ss_listen (int index)
{
char *prompt = malloc(strlen(subsystems[index].name) + 3);
if (prompt = NULL)
if (prompt == NULL)
return ENOMEM;
strcpy(prompt, subsystems[index].name);