This is an automated email from the git hooks/post-receive script.
sparks pushed a commit to branch master
in repository defensive-coding-guide.
commit 5b90f9975381095a48beab469167da3d870c39ab
Author: Florian Weimer <fweimer(a)redhat.com>
Date: Mon Sep 16 15:11:29 2013 +0200
Regenerate snippets
---
.../en-US/snippets/C-String-Functions-strncat-as-strncpy.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/defensive-coding/en-US/snippets/C-String-Functions-strncat-as-strncpy.xml
b/defensive-coding/en-US/snippets/C-String-Functions-strncat-as-strncpy.xml
index 0895eaf..1f5c8c6 100644
--- a/defensive-coding/en-US/snippets/C-String-Functions-strncat-as-strncpy.xml
+++ b/defensive-coding/en-US/snippets/C-String-Functions-strncat-as-strncpy.xml
@@ -4,5 +4,5 @@
<!-- Automatically generated file. Do not edit. -->
<programlisting language="C">
buf[0] = '\0';
-strncpy(buf, data, sizeof(buf) - 1);
+strncat(buf, data, sizeof(buf) - 1);
</programlisting>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date