diff options
author | Lars Koeller <lkoeller@FreeBSD.org> | 2004-02-08 17:44:06 +0000 |
---|---|---|
committer | Lars Koeller <lkoeller@FreeBSD.org> | 2004-02-08 17:44:06 +0000 |
commit | 6cdd03afd266685e246434359d2e49085dfeebdd (patch) | |
tree | f41d5d3338be3423e29c6631224e07126843f8a3 /sysutils/bacula-server | |
parent | 9ac0e77238e31c1b49200225ad93489d50541e69 (diff) |
Notes
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r-- | sysutils/bacula-server/files/patch-var.c-alpha | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/bacula-server/files/patch-var.c-alpha b/sysutils/bacula-server/files/patch-var.c-alpha new file mode 100644 index 000000000000..3597116ede1d --- /dev/null +++ b/sysutils/bacula-server/files/patch-var.c-alpha @@ -0,0 +1,36 @@ +*** src/lib/var.c.orig Sun Feb 8 18:38:44 2004 +--- src/lib/var.c Sun Feb 8 18:39:48 2004 +*************** +*** 120,126 **** + int n; + int bytes; + +! if (format == NULL || ap == NULL) + return -1; + bytes = 0; + while (*format != '\0') { +--- 120,126 ---- + int n; + int bytes; + +! if (format == NULL) + return -1; + bytes = 0; + while (*format != '\0') { +*************** +*** 204,210 **** + int n; + var_mvsnprintf_cb_t ctx; + +! if (format == NULL || ap == NULL) + return -1; + if (buffer != NULL && bufsize == 0) + return -1; +--- 204,210 ---- + int n; + var_mvsnprintf_cb_t ctx; + +! if (format == NULL) + return -1; + if (buffer != NULL && bufsize == 0) + return -1; |