cSvn CGI Script

cSvn CGI Script – is a web frontend for Subversion™ Repositories

115 Commits   0 Branches   5 Tags   |
Index: csvncgi/strbuf.c
===================================================================
--- csvncgi/strbuf.c	(revision 72)
+++ csvncgi/strbuf.c	(revision 73)
@@ -384,9 +384,9 @@
         {
           strncpy( lp, (const char *)sp, (size_t)(start - sp + 1) );
           lp += (start - sp);
-          strncpy( lp, (const char *)sym->value, strlen( sym->value ) + 1 );
+          strcpy( lp, (const char *)sym->value );
           lp += strlen( sym->value );
-          strncpy( lp, (const char *)stop, strlen( stop ) + 1 );
+          strcpy( lp, (const char *)stop );
           sp = stop;
         }
         else
@@ -393,7 +393,7 @@
         {
           strncpy( lp, (const char *)sp, (size_t)(start - sp + 1) );
           lp += (start - sp);
-          strncpy( lp, (const char *)stop, strlen( stop ) + 1 );
+          strcpy( lp, (const char *)stop );
           sp = stop;
         }