projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.4.5p1
[debian/amanda]
/
common-src
/
sl.c
diff --git
a/common-src/sl.c
b/common-src/sl.c
index e023cdb728a2df691409e7edb972cc5f16ac298b..d991ab3ce539424d2ffa07c558f23b98f4b6d59f 100644
(file)
--- a/
common-src/sl.c
+++ b/
common-src/sl.c
@@
-25,7
+25,7
@@
* University of Maryland at College Park
*/
/*
* University of Maryland at College Park
*/
/*
- * $Id: sl.c,v 1.1.2.2.2.
1 2004/04/23 11:44:51
martinea Exp $
+ * $Id: sl.c,v 1.1.2.2.2.
2 2005/09/30 19:01:53
martinea Exp $
*
* A doubly linked list of string (char *)
*/
*
* A doubly linked list of string (char *)
*/
@@
-107,7
+107,7
@@
char *name;
sl = new_sl();
}
sl = new_sl();
}
- for(b=sl->first; b != NULL
< 0
; b=b->next) {
+ for(b=sl->first; b != NULL; b=b->next) {
int i = strcmp(b->name, name);
if(i==0) return(sl); /* already there, no need to insert */
if(i>0) break;
int i = strcmp(b->name, name);
if(i==0) return(sl); /* already there, no need to insert */
if(i>0) break;