Author: bcollins
Date: 2004-03-27 23:01:57 -0500 (Sat, 27 Mar 2004)
New Revision: 169
Modified:
trunk/src/console.c
Log:
Fix typo, apr_strcpyn not apr_strcpy
Modified: trunk/src/console.c
===================================================================
--- trunk/src/console.c 2004-03-28 00:28:21 UTC (rev 168)
+++ trunk/src/console.c 2004-03-28 04:01:57 UTC (rev 169)
@@ -189,7 +189,7 @@
if ((home = getenv("HOME")) != NULL)
apr_snprintf(histfile, sizeof(histfile), "%s/%s", home,
PROTHON_HISTORY);
else
- strcpy(histfile, PROTHON_HISTORY);
+ apr_cpystrn(histfile, PROTHON_HISTORY, sizeof(histfile));
Gl_histinit(histfile);
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|