biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'origin/release-4-6' into HEAD
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
vmdio.c
diff --git
a/src/gromacs/gmxlib/vmdio.c
b/src/gromacs/gmxlib/vmdio.c
index df4cfe6d5632dbc81440654235fc6b02920fd3dd..d8611a2483f7894bf02ac661831f5e2ddc52d090 100644
(file)
--- a/
src/gromacs/gmxlib/vmdio.c
+++ b/
src/gromacs/gmxlib/vmdio.c
@@
-123,7
+123,7
@@
static int load_sharedlibrary_plugins(const char *fullpath,t_gmxvmdplugin* vmdpl
}
ifunc = vmddlsym(handle, "vmdplugin_init");
- if (
ifunc &&
((initfunc)(ifunc))()) {
+ if (
!ifunc ||
((initfunc)(ifunc))()) {
printf("\nvmdplugin_init() for %s returned an error; plugin(s) not loaded.\n", fullpath);
vmddlclose(handle);
return 0;