From 3302bb62952e3ea60e61ae8b6226b43a7c3cdf2b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 27 Aug 2002 16:01:25 +0300 Subject: A small bug fix for the tee command ... --- client/mysql.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1