diff options
-rw-r--r-- | openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ static void *testsimple(lua_State *L, int index, const char *tname) { | |||
134 | p = lua_touserdata(L, index); | 134 | p = lua_touserdata(L, index); |
135 | } | 135 | } |
136 | 136 | ||
137 | return *p; | 137 | return (p)? *p : (void *)0; |
138 | } /* testsimple() */ | 138 | } /* testsimple() */ |
139 | 139 | ||
140 | 140 | ||