diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-12-25 04:35:44 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-12-25 04:35:44 +0000 |
commit | e3ae94452e6b84bd7f3c40166713f38a0585d834 (patch) | |
tree | 43142e9f6788e01e34588c46353a6a36d7e8bbd3 /pack.c | |
parent | 17a5fa1b4344199cef86c2cea4f1ba35f021593d (diff) |
1.2 stable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r-- | pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1029,7 +1029,7 @@ pack_unpack(str, fmt) while (s < send) { if (*s == '=') { if (++s == send) break; - if (*s != '\n' && s < send - 1) { + if (*s != '\n') { if ((c1 = hex2num(*s)) == -1) break; if (++s == send) break; if ((c2 = hex2num(*s)) == -1) break; |