projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ddd07e
)
Fix a bug introduced with the move of read_tempfile() to util.cpp.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sat, 13 Apr 2013 17:03:54 +0000
(19:03 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sat, 13 Apr 2013 17:03:54 +0000
(19:03 +0200)
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index
e48bdf1
..
67c731d
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-272,7
+272,7
@@
start:
if (state_fd != -1) {
fprintf(stderr, "Deserializing state from previous process... ");
string serialized;
- if (!read_tempfile(
atoi(argv[3])
, &serialized)) {
+ if (!read_tempfile(
state_fd
, &serialized)) {
exit(1);
}
if (!loaded_state.ParseFromString(serialized)) {