kgiusti commented on a change in pull request #1267:
URL: https://github.com/apache/qpid-dispatch/pull/1267#discussion_r659760829



##########
File path: src/dispatch.c
##########
@@ -122,9 +122,9 @@ STATIC_ASSERT(sizeof(long) >= sizeof(void*), 
pointer_is_bigger_than_long);
 
 qd_error_t qd_dispatch_load_config(qd_dispatch_t *qd, const char *config_path)
 {
-    qd->dl_handle = dlopen(QPID_DISPATCH_LIB, RTLD_LAZY | RTLD_NOLOAD);
+    qd->dl_handle = dlopen(NULL, RTLD_LAZY | RTLD_NOLOAD);

Review comment:
       This dlopen is done for backward compatibility, right?  Can you drop a 
comment here explaining that?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to