Commit | Line | Data |
---|---|---|
04c6839a WJ |
1 | #include "quipu/util.h" |
2 | #include "quipu/attrvalue.h" | |
3 | ||
4 | extern LLog * log_dsap; | |
5 | ||
6 | as_delnext (as) | |
7 | Attr_Sequence as; | |
8 | { | |
9 | Attr_Sequence ptr; | |
10 | ||
11 | if (as == NULLATTR) | |
12 | DLOG (log_dsap,LLOG_DEBUG,("delnext of null as!")); | |
13 | else { | |
14 | ptr = as->attr_link; | |
15 | if (ptr == NULLATTR) | |
16 | DLOG (log_dsap,LLOG_DEBUG,("no new as to delete!")); | |
17 | else { | |
18 | as->attr_link = ptr->attr_link; | |
19 | as_comp_free (ptr); | |
20 | } | |
21 | } | |
22 | } | |
23 |