diff options
Diffstat (limited to 'client/mysqlimport.c')
-rw-r--r-- | client/mysqlimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlimport.c b/client/mysqlimport.c index ccf7fd9880d..3db13519a46 100644 --- a/client/mysqlimport.c +++ b/client/mysqlimport.c @@ -203,7 +203,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), #endif case OPT_MYSQL_PROTOCOL: { - if ((opt_protocol = find_type(argument, &sql_protocol_typelib,0)) == ~(ulong) 0) + if (!(opt_protocol= find_type(argument, &sql_protocol_typelib,0))) { fprintf(stderr, "Unknown option to protocol: %s\n", argument); exit(1); |