diff options
author | Mathias Stearn <redbeard0531@gmail.com> | 2010-08-11 20:22:58 -0400 |
---|---|---|
committer | Mathias Stearn <redbeard0531@gmail.com> | 2010-08-11 20:23:28 -0400 |
commit | 26677a17a47f89a1b53322f7baffe2396c0219c7 (patch) | |
tree | 4b8dd1ecfa95c134ffaa69cb92f55b59665db080 /scripting | |
parent | 5922debdd39d713c8542068055b1d8aae31aac4d (diff) | |
download | mongo-26677a17a47f89a1b53322f7baffe2396c0219c7.tar.gz |
actual typo fix
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/engine.cpp b/scripting/engine.cpp index 1e690c66df2..198b15975db 100644 --- a/scripting/engine.cpp +++ b/scripting/engine.cpp @@ -135,7 +135,7 @@ namespace mongo { f.read( 0 , data.get() , (size_t) L ); int offset = 0; - if (data[0] == '#' and data[1] == '!'){ + if (data[0] == '#' && data[1] == '!'){ const char* newline = strchr(data.get(), '\n'); if (! newline) return true; // file of just shebang treated same as empty file |