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.5.0
[debian/amanda]
/
changer-src
/
sense.c
diff --git
a/changer-src/sense.c
b/changer-src/sense.c
index 37b9803b0fe23326772bedb840a2eb4b30f40b49..955084740e3c2616dc8927de1d38134008ed15cd 100644
(file)
--- a/
changer-src/sense.c
+++ b/
changer-src/sense.c
@@
-768,14
+768,8
@@
int Sense2Action(char *ident,
*text));
return(pwork->ret);
}
*text));
return(pwork->ret);
}
- pwork++;
- continue;
}
}
-
- pwork++;
- continue;
}
}
-
pwork++;
}
pwork++;
}
@@
-783,7
+777,7
@@
int Sense2Action(char *ident,
* Ok no match found, so lets return the values from the generic table
*/
dbprintf(("Sense2Action generic start :\n"));
* Ok no match found, so lets return the values from the generic table
*/
dbprintf(("Sense2Action generic start :\n"));
- while (generic->ident != NULL)
+ while (
(generic != NULL) &&
generic->ident != NULL)
{
if (generic->sense == -1)
{
{
if (generic->sense == -1)
{