diff options
author | Peter Somogyi <psomogyi@gamax.hu> | 2007-04-23 12:45:14 +0200 |
---|---|---|
committer | Peter Somogyi <psomogyi@gamax.hu> | 2007-04-23 12:45:14 +0200 |
commit | d244415d1e4428aa39cc25082b7f691b461afb22 (patch) | |
tree | 0d2420ccc7a4bb61f75a19a7fa2d027b14423356 /ctdb/lib/util/debug.c | |
parent | eb20281bb423eb32e870dd78f8984e784b8aff67 (diff) | |
download | samba-d244415d1e4428aa39cc25082b7f691b461afb22.tar.gz samba-d244415d1e4428aa39cc25082b7f691b461afb22.tar.xz samba-d244415d1e4428aa39cc25082b7f691b461afb22.zip |
fixed ctdb/ib bug at reject event
reverted my suggestion in debug.c (based on my false error detection)
(This used to be ctdb commit 5c52c9f37639c65b551c10d1706c49653cd99742)
Diffstat (limited to 'ctdb/lib/util/debug.c')
-rw-r--r-- | ctdb/lib/util/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/lib/util/debug.c b/ctdb/lib/util/debug.c index c9c6974964..a048ed807e 100644 --- a/ctdb/lib/util/debug.c +++ b/ctdb/lib/util/debug.c @@ -30,12 +30,12 @@ void do_debug(const char *format, ...) char *s = NULL; va_start(ap, format); - s = talloc_vasprintf(NULL, format, ap); + vasprintf(&s, format, ap); va_end(ap); gettimeofday(&tm, NULL); printf("%-8.8d.%-6.6d [%d]: %s", (int)tm.tv_sec, (int)tm.tv_usec, (int)getpid(), s); fflush(stdout); - talloc_free(s); + free(s); } |