projects
/
quix0rs-blobwars.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
761ff71
)
Fix posting medals to the medal server.
author
Guus Sliepen
<guus@debian.org>
Sun, 17 Apr 2011 13:45:20 +0000
(15:45 +0200)
committer
Guus Sliepen
<guus@debian.org>
Sun, 17 Apr 2011 13:45:20 +0000
(15:45 +0200)
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index 5a4aee44cf80401ac2687b42c6faf7de25a8e5c2..da26502a1fe8bace87e4604193c50b79bb4755b3 100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-66,7
+66,7
@@
void presentPlayerMedal(const char *tname)
// Copy the input, so that threading
// doesn't trip us up!
char *data = new char[128];
- strlcpy(data, tname,
sizeof data
);
+ strlcpy(data, tname,
128
);
SDL_Thread *thread = SDL_CreateThread(medalWorker, (void*)data);