summaryrefslogtreecommitdiff
authormjm <mjm>2003-02-27 19:32:08 (UTC)
committer mjm <mjm>2003-02-27 19:32:08 (UTC)
commit18c19111466e43e91678c5a1fa50f2f561ca3257 (patch) (unidiff)
tree9f76492a3e0351a5914ada95c68fed169f3a6a29
parentfca225e970ebb629c4ac79020248a860a651bd85 (diff)
downloadopie-18c19111466e43e91678c5a1fa50f2f561ca3257.zip
opie-18c19111466e43e91678c5a1fa50f2f561ca3257.tar.gz
opie-18c19111466e43e91678c5a1fa50f2f561ca3257.tar.bz2
fixed typo
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc b/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc
index dcdc16b..6c3846f 100644
--- a/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc
+++ b/noncore/net/wellenreiter/libwellenreiter/source/wl_proto.cc
@@ -114,7 +114,7 @@ int get_ok(const char *buffer)
114} 114}
115 115
116/* put failmessage into buffer */ 116/* put failmessage into buffer */
117int get_fail(char *out, const char *buffer, size_t len) 117int get_fail(char *out, const char *buffer, size_t bufflen)
118{ 118{
119 char temp[5]; 119 char temp[5];
120 int error=0; 120 int error=0;
@@ -129,8 +129,8 @@ int get_fail(char *out, const char *buffer, size_t len)
129 error=atoi(temp); 129 error=atoi(temp);
130 130
131 /* get errorstring and fill into buffer */ 131 /* get errorstring and fill into buffer */
132 memset(out, 0, len); 132 memset(out, 0, bufflen);
133 len += get_field(buffer + len, out, len - 1); 133 len += get_field(buffer + len, out, bufflen - 1);
134 134
135 return error; 135 return error;
136} 136}