summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 66df47bc934..69633d1edce 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -1855,7 +1855,7 @@ com_tee(String *buffer, char *line __attribute__((unused)))
while (end > file_name && (isspace(end[-1]) || iscntrl(end[-1])))
end--;
end[0]= 0;
- if (!strlen(outfile))
+ if (!strlen(file_name))
{
printf("No outfile specified!\n");
return 0;