fix typo
authorMarkus Kittenberger <Markus.Kittenberger@gmx.at>
Thu, 21 Apr 2011 20:03:12 +0000 (22:03 +0200)
committerMarkus Kittenberger <Markus.Kittenberger@gmx.at>
Thu, 21 Apr 2011 20:03:12 +0000 (22:03 +0200)
src/main.c

index 489b2fa..1178205 100644 (file)
@@ -161,7 +161,7 @@ static int olsr_create_lock_file(bool noExitOnFail) {
   success = LockFile( lck, 0, 0, 0, 0);
 
   if (!success) {
-      CloseHanle(lck);
+      CloseHandle(lck);
       if (noExitOnFail) {
           return -1;
       }