more ansi

SVN revision: 8150
This commit is contained in:
handyande 2003-12-19 15:35:45 +00:00 committed by handyande
parent d22d230017
commit abeb38543a
1 changed files with 2 additions and 1 deletions

View File

@ -187,8 +187,9 @@ int ipc_init(char *pipe_name, void **data) {
if((p=getenv("HOME"))) { /* debug-only ### FIXME */
char buf[PATH_MAX];
int stale;
str=malloc(1000*sizeof(char));
int stale; stale=1;
stale=1;
while (stale) {
sprintf(str,"%s/.ecore/%s/%d",p,pipe_name,port);
snprintf(buf,PATH_MAX,str);