]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/message.c
Fix typo.
[bacula/bacula] / bacula / src / lib / message.c
index def39b8d85734d54904855dbf85c0268053db9bc..60fbfdc97416c5b817a80a72fef929d7e4286854 100644 (file)
@@ -6,7 +6,7 @@
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
    This program is Free Software; you can redistribute it and/or
-   modify it under the terms of version two of the GNU General Public
+   modify it under the terms of version three of the GNU Affero General Public
    License as published by the Free Software Foundation and included
    in the file LICENSE.
 
@@ -15,7 +15,7 @@
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    General Public License for more details.
 
-   You should have received a copy of the GNU General Public License
+   You should have received a copy of the GNU Affero General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
@@ -1221,7 +1221,7 @@ Jmsg(JCR *jcr, int type, utime_t mtime, const char *fmt,...)
     /* The watchdog thread can't use Jmsg directly, we always queued it */
     if (is_watchdog()) {
        va_start(arg_ptr, fmt);
-       bvsnprintf(rbuf+len,  sizeof(rbuf)-len, fmt, arg_ptr);
+       bvsnprintf(rbuf,  sizeof(rbuf), fmt, arg_ptr);
        va_end(arg_ptr);
        Qmsg(jcr, type, mtime, "%s", rbuf);
        return;