diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-05-02 12:04:35 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-05-02 12:04:35 (GMT) |
commit | dccdda3b7477fcc892b37b2bd94fc820a71a4090 (patch) | |
tree | c27c4db9dc14499e51cbf66de229b35c2119173e /src/analysis/db/cdb.c | |
parent | 2d488a40520e64708b34f5e28102f606d9bcb38e (diff) |
Removed debug output.
Diffstat (limited to 'src/analysis/db/cdb.c')
-rw-r--r-- | src/analysis/db/cdb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/analysis/db/cdb.c b/src/analysis/db/cdb.c index 170bdfa..9479b4d 100644 --- a/src/analysis/db/cdb.c +++ b/src/analysis/db/cdb.c @@ -1079,7 +1079,6 @@ DBError g_cdb_archive_add_client(GCdbArchive *archive, int fd, const rle_string - printf("Add '%s' for archive...\n", user->data); g_mutex_lock(&archive->clients_access); @@ -1131,7 +1130,7 @@ DBError g_cdb_archive_add_client(GCdbArchive *archive, int fd, const rle_string } - if (status) + if (status && get_packed_buffer_payload_length(&out_pbuf) > 0) status = send_packed_buffer(&out_pbuf, fd); exit_packed_buffer(&out_pbuf); |