Enlightenment CVS committal

Author  : xcomputerman
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/daemon


Modified Files:
        auth.c 


Log Message:
Whoopsie

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/daemon/auth.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- auth.c      22 Mar 2004 22:38:21 -0000      1.4
+++ auth.c      22 Mar 2004 22:41:13 -0000      1.5
@@ -249,10 +249,10 @@
 
    if (d->authfile)
       free(d->authfile);
-   d->authfile = NULL;
 
    /* FIXME: Config-ize */
    snprintf(buf, PATH_MAX, "/var/lib/entrance/%s%s", d->name, ".Xauth");
+   d->authfile = strdup(buf);
    unlink(d->authfile);
 
    if(!(auth_file = fopen(d->authfile, "w")))




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to