Update of /cvsroot/blob/blob/src/blob
In directory usw-pr-cvs1:/tmp/cvs-serv24730
Modified Files:
partition.c
Log Message:
- bugfix for pt_find_by_name()
Index: partition.c
===================================================================
RCS file: /cvsroot/blob/blob/src/blob/partition.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- partition.c 19 Mar 2002 21:08:38 -0000 1.4
+++ partition.c 9 May 2002 12:22:22 -0000 1.5
@@ -324,7 +324,7 @@
return NULL;
case BLOB_PART_VALID_MAGIC:
- if(strncmp(t->name, s, BLOB_PART_NAMELEN))
+ if(strncmp(t->name, s, BLOB_PART_NAMELEN)==0)
return t;
break;
|