(retrieve): Cut the argument to the command and the first character of
the extension. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@819 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -834,7 +834,7 @@ retrieve(char *cmd, char *name)
|
||||
if(strcmp(tail, p->ext) == 0){
|
||||
sprintf(line, p->cmd, name);
|
||||
/* XXX */
|
||||
line[tail - name] = 0;
|
||||
line[strlen(name) - strlen(p->ext)] = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user