hack for reget.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1696 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -224,11 +224,6 @@ cmd
|
||||
conf($3);
|
||||
free($3);
|
||||
}
|
||||
| ENC SP STRING CRLF
|
||||
{
|
||||
enc($3);
|
||||
free($3);
|
||||
}
|
||||
| PASS SP password CRLF
|
||||
{
|
||||
pass($3);
|
||||
@@ -407,7 +402,8 @@ cmd
|
||||
reply(503, "Bad sequence of commands.");
|
||||
}
|
||||
}
|
||||
free($4);
|
||||
if ($4 != NULL)
|
||||
free($4);
|
||||
}
|
||||
| ABOR CRLF
|
||||
{
|
||||
@@ -513,7 +509,7 @@ cmd
|
||||
}
|
||||
| SITE SP CHMOD check_login_no_guest SP octal_number SP pathname CRLF
|
||||
{
|
||||
if ($4 && ($8 != NULL)) {
|
||||
if ($4 && $8 != NULL) {
|
||||
if ($6 > 0777)
|
||||
reply(501,
|
||||
"CHMOD: Mode value must be between 0 and 0777");
|
||||
@@ -675,6 +671,11 @@ rcmd
|
||||
(long)restart_point,
|
||||
"Send STORE or RETRIEVE to initiate transfer.");
|
||||
}
|
||||
| ENC SP STRING CRLF
|
||||
{
|
||||
enc($3);
|
||||
free($3);
|
||||
}
|
||||
;
|
||||
|
||||
username
|
||||
|
Reference in New Issue
Block a user