/*
Bacula® - The Network Backup Solution
- Copyright (C) 2002-2008 Free Software Foundation Europe e.V.
+ Copyright (C) 2002-2009 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
if (ua->api) user->signal(BNET_CMD_BEGIN);
parse_args_only(ua->cmd, &ua->args, &ua->argc, ua->argk, ua->argv, MAX_CMD_ARGS);
if (ua->argc == 0) {
- ua->warning_msg(_("Invalid command. Enter \"done\" to exit.\n"));
+ ua->warning_msg(_("Invalid command \"%s\". Enter \"done\" to exit.\n")
if (ua->api) user->signal(BNET_CMD_FAILED);
continue;
}
stat = false;
for (i=0; i<comsize; i++) /* search for command */
if (strncasecmp(ua->argk[0], _(commands[i].key), len) == 0) {
+ ua->cmd);
stat = (*commands[i].func)(ua, tree); /* go execute command */
found = 1;
break;
}
if (!found) {
- ua->warning_msg(_("Invalid command. Enter \"done\" to exit.\n"));
+ ua->warning_msg(_("Invalid command \"%s\". Enter \"done\" to exit.\n")
if (ua->api) user->signal(BNET_CMD_FAILED);
continue;
}
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2008 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
* 1 10Mar08
*/
static char OK_hello[] = "2000 OK Hello 1\n";
-static char Dir_sorry[] = "2999 No go\n";
+static char Dir_sorry[] = "2999 Authentication failed.\n";
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
/*********************************************************************
}
fitem = (guitem *)uid_list->binary_insert(item, uid_compare);
if (fitem != item) { /* item already there this shouldn't happen */
+ free(item->name);
free(item);
item = fitem;
}
}
fitem = (guitem *)gid_list->binary_insert(item, gid_compare);
if (fitem != item) { /* item already there this shouldn't happen */
+ free(item->name);
free(item);
item = fitem;
}
*/
#undef VERSION
-#define VERSION "2.5.31"
-#define BDATE "25 January 2009"
-#define LSMDATE "25Jan09"
+#define VERSION "2.5.32"
+#define BDATE "08 February 2009"
+#define LSMDATE "09Feb09"
#define PROG_COPYRIGHT "Copyright (C) %d-2008 Free Software Foundation Europe e.V.\n"
#define BYEAR "2009" /* year for copyright messages in progs */
mixed priorities
General:
+08Feb09
+kes Free name item in guid_to_name.c when already in list.
+kes Add more info to error message in ua_tree.c
05Feb09
kes Make re-read last block fatal if block numbers differ by
more than one.