diff options
| author | William Ahern <william@server.local> | 2012-10-11 21:11:28 -0700 |
|---|---|---|
| committer | William Ahern <william@server.local> | 2012-10-11 21:11:28 -0700 |
| commit | e4015dae5d7cf4038ea43a1df648a7a0807e956f (patch) | |
| tree | b4947393b244ee416aacb3fc512860a89e1535f1 /openssl.c | |
| parent | 49cdb86019dca5fb28d05b490e9721dea67731e4 (diff) | |
| download | luaossl-e4015dae5d7cf4038ea43a1df648a7a0807e956f.tar.gz luaossl-e4015dae5d7cf4038ea43a1df648a7a0807e956f.tar.bz2 luaossl-e4015dae5d7cf4038ea43a1df648a7a0807e956f.zip | |
-n
bug fix testsimple in openssl.c
Diffstat (limited to 'openssl.c')
| -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 | ||
