git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
432ba22
)
Fixed const-related warning message.
author
Maxim Mamontov
<faust.madf@gmail.com>
Sat, 12 Sep 2015 11:32:10 +0000
(14:32 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Sat, 12 Sep 2015 11:32:10 +0000
(14:32 +0300)
projects/rlm_stg/rlm_stg.c
patch
|
blob
|
history
diff --git
a/projects/rlm_stg/rlm_stg.c
b/projects/rlm_stg/rlm_stg.c
index 98c6a02ae5ef7c368fcde6c15e540ceea274d523..20d46a59ee2e765b35e9ce8ff5accf5480cb6f45 100644
(file)
--- a/
projects/rlm_stg/rlm_stg.c
+++ b/
projects/rlm_stg/rlm_stg.c
@@
-98,7
+98,7
@@
static STG_PAIR* fromVPS(const VALUE_PAIR* pairs)
bzero(res[pos].key, sizeof(res[0].key));
bzero(res[pos].value, sizeof(res[0].value));
strncpy(res[pos].key, pairs->name, sizeof(res[0].key));
bzero(res[pos].key, sizeof(res[0].key));
bzero(res[pos].value, sizeof(res[0].value));
strncpy(res[pos].key, pairs->name, sizeof(res[0].key));
- vp_prints_value(res[pos].value, sizeof(res[0].value), pairs, 0);
+ vp_prints_value(res[pos].value, sizeof(res[0].value),
(VALUE_PAIR*)
pairs, 0);
++pos;
pairs = pairs->next;
}
++pos;
pairs = pairs->next;
}