diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-25 22:18:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-25 22:18:26 +0300 |
commit | 853757df15383c2e9cc33023dc04a256c458e671 (patch) | |
tree | f12cf49d6ddc17b6b4fc96d066359872b108f144 /src/mumblemanager.cpp | |
parent | 8e57e80d73a58077615924d50ac206d19efddae6 (diff) | |
download | ManaVerse-853757df15383c2e9cc33023dc04a256c458e671.tar.gz ManaVerse-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2 ManaVerse-853757df15383c2e9cc33023dc04a256c458e671.tar.xz ManaVerse-853757df15383c2e9cc33023dc04a256c458e671.zip |
fix some code style by cpplint.
Diffstat (limited to 'src/mumblemanager.cpp')
-rw-r--r-- | src/mumblemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mumblemanager.cpp b/src/mumblemanager.cpp index 27eebc3fb..dda73014e 100644 --- a/src/mumblemanager.cpp +++ b/src/mumblemanager.cpp @@ -111,7 +111,7 @@ void MumbleManager::init() #elif defined BSD4_4 #else char memName[256]; - snprintf(memName, 256, "/MumbleLink.%u", getuid()); + snprintf(memName, sizeof(memName), "/MumbleLink.%u", getuid()); const int shmfd = shm_open(memName, O_RDWR, S_IRUSR | S_IWUSR); |