summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2008-03-31 11:24:14 +0000
committerjsorg71 <jsorg71>2008-03-31 11:24:14 +0000
commitdab4ae3934dd0afed35887af84c47dfe7e38172e (patch)
tree0beb1ee4da3f15e62d31ada6a4316469aafffd83 /xrdp
parent53fce709d4c5947200be395251614bf4862cb215 (diff)
downloadxrdp-proprietary-dab4ae3934dd0afed35887af84c47dfe7e38172e.tar.gz
xrdp-proprietary-dab4ae3934dd0afed35887af84c47dfe7e38172e.zip
spelling correction and make function more readable
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp_mm.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c
index 105a166a..7f3b8a2c 100644
--- a/xrdp/xrdp_mm.c
+++ b/xrdp/xrdp_mm.c
@@ -50,7 +50,12 @@ sync_unload(long param1, long param2)
static long DEFAULT_CC
sync_load(long param1, long param2)
{
- return g_load_library((char*)param1);
+ long rv;
+ char* libname;
+
+ libname = (char*)param1;
+ rv = g_load_library(libname);
+ return rv;
}
/*****************************************************************************/
@@ -82,7 +87,7 @@ xrdp_mm_delete(struct xrdp_mm* self)
{
return;
}
- /* free any modual stuff */
+ /* free any module stuff */
xrdp_mm_module_cleanup(self);
if (self->sck != 0)
{