diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-07 15:28:06 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-07 15:28:06 +0200 |
commit | f7f0902f65b7693b8b3ebc3064b5ea188e614bf9 (patch) | |
tree | 39e9d3d6d3533afff62c72044dea723e6c70a2c3 /runtime/stringbuf.c | |
parent | 1a08fa5ded3087a3b60d87a20d25a4ec589eba21 (diff) | |
parent | a6c743e5ec5d213d3aa6404553fe65d59f065799 (diff) | |
download | rsyslog-f7f0902f65b7693b8b3ebc3064b5ea188e614bf9.tar.gz rsyslog-f7f0902f65b7693b8b3ebc3064b5ea188e614bf9.tar.bz2 rsyslog-f7f0902f65b7693b8b3ebc3064b5ea188e614bf9.zip |
Merge branch 'nextmaster' into oracle
Diffstat (limited to 'runtime/stringbuf.c')
-rw-r--r-- | runtime/stringbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stringbuf.c b/runtime/stringbuf.c index 35ec44c6..07256fab 100644 --- a/runtime/stringbuf.c +++ b/runtime/stringbuf.c @@ -850,7 +850,7 @@ rsCStrConvertToNumber(cstr_t *pStr, number_t *pNumber) /* TODO: octal? hex? */ n = 0; while(i < pStr->iStrLen && isdigit(pStr->pBuf[i])) { - n = n * 10 + pStr->pBuf[i] * 10; + n = n * 10 + pStr->pBuf[i] - '0'; ++i; } |