(doit): move some code to handle non-from case correctly

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9419 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-12-26 00:24:42 +00:00
parent 5317a372d4
commit 76794120ed

View File

@@ -224,10 +224,12 @@ doit(int s,
int numheaders = 1;
char **headers = NULL;
int i;
char *tmp = estrdup(header_str);
char *tmp = NULL;
if (do_from) {
char *tmp2 = tmp;
char *tmp2;
tmp2 = tmp = estrdup(header_str);
out_fd = -1;
if (verbose)