[Sysfence-commit] sysfence datastruct.c,1.3,1.4
Status: Alpha
Brought to you by:
emes
|
From: Michal S. <em...@us...> - 2004-05-29 12:54:20
|
Update of /cvsroot/sysfence/sysfence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27866 Modified Files: datastruct.c Log Message: * bugfix Index: datastruct.c =================================================================== RCS file: /cvsroot/sysfence/sysfence/datastruct.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- datastruct.c 28 May 2004 23:26:20 -0000 1.3 +++ datastruct.c 29 May 2004 12:54:11 -0000 1.4 @@ -142,7 +142,7 @@ #ifdef DEBUG syslog (LOG_DEBUG, " +-- list element: %s)", st->path); #endif - if (strcmp (st->path, path)) return st; + if (strcmp (st->path, path) == 0) return st; else return get_fs_entry_from_list (hd->next, path); } |