Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: samples/lineprocessor.cc

Issue 549086: Fix lineprocessor: compilation (Closed)
Patch Set: merge Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/lineprocessor.cc
diff --git a/samples/lineprocessor.cc b/samples/lineprocessor.cc
index 2e8092ee9a6f5ddd3bb44221e460d05f268ab680..804f167582a41b144e720035b19ca9a3bdc56cfc 100644
--- a/samples/lineprocessor.cc
+++ b/samples/lineprocessor.cc
@@ -410,7 +410,7 @@ v8::Handle<v8::String> ReadLine() {
char* res;
{
v8::Unlocker unlocker;
- res = fgets(buffer, buffer_size, stdin);
+ res = fgets(buffer, kBufferSize, stdin);
}
if (res == NULL) {
v8::Handle<v8::Primitive> t = v8::Undefined();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698