projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a7fc58
)
Remove extra semicolon in my definition of setpriority()
author
Michael Tokarev
<mjt@tls.msk.ru>
Sat, 5 Sep 2009 13:24:41 +0000
(17:24 +0400)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 8 Sep 2009 14:49:38 +0000
(16:49 +0200)
src/tincd.c
patch
|
blob
|
history
diff --git
a/src/tincd.c
b/src/tincd.c
index
bec16cd
..
da3c33f
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-485,7
+485,7
@@
static bool drop_privs() {
}
#ifdef HAVE_MINGW
-# define setpriority(level) SetPriorityClass(GetCurrentProcess(), level)
;
+# define setpriority(level) SetPriorityClass(GetCurrentProcess(), level)
#else
# define NORMAL_PRIORITY_CLASS 0
# define BELOW_NORMAL_PRIORITY_CLASS 10