PennMUSH Community
Show
Ignore:
Timestamp:
12/28/07 19:57:17 (1 year ago)
Author:
shawnw
Message:

Merge devel into trunk for p6 release

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.3/trunk/src/funcrypt.c

    r1044 r1167  
    215215  if (!text && !*text) 
    216216    return (char *) ""; 
    217   strcpy(codebuff, crunch_code(code)); 
    218   if (!code || !*code || !codebuff || !*codebuff) 
     217  if (!code || !*code) 
     218    return text; 
     219  mush_strncpy(codebuff, crunch_code(code), BUFFER_LEN); 
     220  if (!*codebuff) 
    219221    return text; 
    220222  textbuff[0] = '\0';