Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2008-03-20 17:26:20 +0300
committerThorvald Natvig <slicer@users.sourceforge.net>2008-03-20 17:26:20 +0300
commite93c194397fad82fce2411ad3a193d9f2934fa79 (patch)
tree673b4d17082a62bdac91755ff55fbc3979bfde9b /overlay_gl
parent0f22bcfbda2641f32cad80f2ee0b860e0621e855 (diff)
Indenting run
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1019 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'overlay_gl')
-rw-r--r--overlay_gl/overlay.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/overlay_gl/overlay.c b/overlay_gl/overlay.c
index 25c4224e4..2545ae43f 100644
--- a/overlay_gl/overlay.c
+++ b/overlay_gl/overlay.c
@@ -92,7 +92,7 @@ static void resolveOpenGL() {
static void resolveSM() {
static bool warned_sm = false;
- static bool warned_ver = false;
+ static bool warned_ver = false;
int fd = shm_open("/MumbleOverlayMem", O_RDWR, 0600);
if (fd >= 0) {
@@ -102,17 +102,17 @@ static void resolveSM() {
close(fd);
} else {
if ((sm->version[0] != OVERLAY_VERSION_MAJ) ||
- (sm->version[1] != OVERLAY_VERSION_MIN) ||
- (sm->version[2] != OVERLAY_VERSION_PATCH)) {
- if (! warned_ver) {
+ (sm->version[1] != OVERLAY_VERSION_MIN) ||
+ (sm->version[2] != OVERLAY_VERSION_PATCH)) {
+ if (! warned_ver) {
fflush(stderr);
fprintf(stderr, "MUMBLE OVERLAY:: Version mismatch. Library is %u.%u.%u.%u, application is %u.%u.%u.%u\n",
- OVERLAY_VERSION_MAJ, OVERLAY_VERSION_MIN, OVERLAY_VERSION_PATCH, OVERLAY_VERSION_SUB,
- sm->version[0], sm->version[1], sm->version[2], sm->version[3]
- );
+ OVERLAY_VERSION_MAJ, OVERLAY_VERSION_MIN, OVERLAY_VERSION_PATCH, OVERLAY_VERSION_SUB,
+ sm->version[0], sm->version[1], sm->version[2], sm->version[3]
+ );
fflush(stderr);
warned_ver = true;
- }
+ }
munmap(sm, sizeof(struct SharedMem));
sm = NULL;
close(fd);