[Autosec-devel] sonar/src expand.c,1.1,1.2
Brought to you by:
red0x
From: Jacob F. <ph...@us...> - 2004-04-23 04:08:19
|
Update of /cvsroot/autosec/sonar/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10516 Modified Files: expand.c Log Message: What was that? Broken code? Nothing to see here...move along Index: expand.c =================================================================== RCS file: /cvsroot/autosec/sonar/src/expand.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** expand.c 23 Apr 2004 04:06:10 -0000 1.1 --- expand.c 23 Apr 2004 04:08:11 -0000 1.2 *************** *** 167,171 **** int i=strlen(t->entry); checksize(i); ! snprintf(result, i+1, "%s", hostname); curlen+=i+1; *(result+i)='\0'; --- 167,171 ---- int i=strlen(t->entry); checksize(i); ! snprintf(result, i+1, "%s", t->entry); curlen+=i+1; *(result+i)='\0'; |