summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-06-10 03:39:40 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-06-10 03:39:40 +0200
commit49d7b4cd666429ece524ea4b3b2bd4041b5662e5 (patch)
tree715946a1e1e675deb3fd70e9d6ccb605543c9014 /action.c
parent8851decb0fbd82f3fd88fe2a0b7e662ef4479e71 (diff)
downloadrsyslog-49d7b4cd666429ece524ea4b3b2bd4041b5662e5.tar.gz
rsyslog-49d7b4cd666429ece524ea4b3b2bd4041b5662e5.tar.xz
rsyslog-49d7b4cd666429ece524ea4b3b2bd4041b5662e5.zip
preparing for 5.9.0v5.9.0
Diffstat (limited to 'action.c')
-rw-r--r--action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.c b/action.c
index 6a8bd2a3..b4762379 100644
--- a/action.c
+++ b/action.c
@@ -293,7 +293,7 @@ actionConstructFinalize(action_t *pThis)
if(pThis->pszName == NULL) {
snprintf((char*) pszQName, sizeof(pszQName)/sizeof(uchar), "action %d queue", iActionNbr);
} else {
- strncpy(pszQName, pThis->pszName, sizeof(pszQName));
+ ustrncpy(pszQName, pThis->pszName, sizeof(pszQName));
pszQName[63] = '\0'; /* to be on the save side */
}