forked from enlightenment/efl
parent
d22d230017
commit
abeb38543a
|
@ -187,8 +187,9 @@ int ipc_init(char *pipe_name, void **data) {
|
||||||
|
|
||||||
if((p=getenv("HOME"))) { /* debug-only ### FIXME */
|
if((p=getenv("HOME"))) { /* debug-only ### FIXME */
|
||||||
char buf[PATH_MAX];
|
char buf[PATH_MAX];
|
||||||
|
int stale;
|
||||||
str=malloc(1000*sizeof(char));
|
str=malloc(1000*sizeof(char));
|
||||||
int stale; stale=1;
|
stale=1;
|
||||||
while (stale) {
|
while (stale) {
|
||||||
sprintf(str,"%s/.ecore/%s/%d",p,pipe_name,port);
|
sprintf(str,"%s/.ecore/%s/%d",p,pipe_name,port);
|
||||||
snprintf(buf,PATH_MAX,str);
|
snprintf(buf,PATH_MAX,str);
|
||||||
|
|
Loading…
Reference in New Issue