diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-05 16:27:00 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-05 16:27:00 +0100 |
commit | 373fcdac84fd1a8a8d513d1dcc00539821c1c803 (patch) | |
tree | 1ef13908bd11c7303c5e76ca4faa47baa2962d5c | |
parent | bb8a0c5d722c904d9306b6dce4c7676c89a05280 (diff) | |
download | fdk-aac-373fcdac84fd1a8a8d513d1dcc00539821c1c803.tar.gz fdk-aac-373fcdac84fd1a8a8d513d1dcc00539821c1c803.tar.bz2 fdk-aac-373fcdac84fd1a8a8d513d1dcc00539821c1c803.zip |
reverse connection setup for zmq
-rw-r--r-- | aac-enc-dabplus-zmq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aac-enc-dabplus-zmq.c b/aac-enc-dabplus-zmq.c index 8d18a23..0994d04 100644 --- a/aac-enc-dabplus-zmq.c +++ b/aac-enc-dabplus-zmq.c @@ -211,8 +211,8 @@ int main(int argc, char *argv[]) { fprintf(stderr, "Error occurred during zmq_socket: %s\n", zmq_strerror(errno)); return 2; } - if (zmq_bind(zmq_sock, outuri) != 0) { - fprintf(stderr, "Error occurred during zmq_bind: %s\n", zmq_strerror(errno)); + if (zmq_connect(zmq_sock, outuri) != 0) { + fprintf(stderr, "Error occurred during zmq_connect: %s\n", zmq_strerror(errno)); return 2; } } else { |