X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mysql_selector.c;h=7a3b0a7d9c5b99d55c3e094ed497126805f927f2;hp=51273644413ec0b67c4d100281857a023bac5d77;hb=cb975a0978aec84c4710037ddb407737d455d1d4;hpb=c5fa571f434b45ab8f786cf20e8c22d197a00da2 diff --git a/mysql_selector.c b/mysql_selector.c index 51273644..7a3b0a7d 100644 --- a/mysql_selector.c +++ b/mysql_selector.c @@ -31,6 +31,7 @@ #include "error.h" #include "net.h" #include "string.h" +#include "user_list.h" /** pointer to the shared memory area */ extern struct misc_meta_data *mmd; @@ -1501,7 +1502,7 @@ static int com_mv(__a_unused int fd, int argc, char *argv[]) ret = -E_ESCAPE; ebn1 = escaped_basename(argv[1]); ebn2 = escaped_basename(argv[2]); - if (!ebn1 || !ebn2 | !*ebn1 || !*ebn2) + if (!ebn1 || !ebn2 || !*ebn1 || !*ebn2) goto out; ret = -E_MYSQL_SYNTAX; if (!strcmp(ebn1, ebn2))