diff options
author | Thomas White <taw@physics.org> | 2023-06-02 15:26:27 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-06-02 15:27:57 +0200 |
commit | 187600a9e768cea530147d4e16a62c6665502070 (patch) | |
tree | 3366ac0b6575af6a977f7bda6a5083c3227aca2d /src | |
parent | 447a5a8129295ec8bce1c9a6292595e3e96f3840 (diff) |
ASAP::O: Make output stream write conditional
Diffstat (limited to 'src')
-rw-r--r-- | src/im-asapo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/im-asapo.c b/src/im-asapo.c index 6bc43b11..e0a23546 100644 --- a/src/im-asapo.c +++ b/src/im-asapo.c @@ -339,6 +339,7 @@ static void send_placeholder(struct im_asapo *a, struct image *image) * send a placeholder */ void im_asapo_send(struct im_asapo *a, struct image *image, int hit) { + if ( a->producer == NULL ) return; profile_start("asapo-send"); if ( hit ) { send_real(a, image); |