Renamed stanza verification functions

This commit is contained in:
James Booth
2015-06-06 23:00:05 +01:00
parent 98b06b717c
commit 35babf392f
5 changed files with 14 additions and 14 deletions

View File

@@ -96,12 +96,12 @@ verify_any(char *stanza_text)
int result = 0;
if (timeoutsecs <= 0) {
result = stanza_verify_any(curr_stanza);
result = stanzas_verify_any(curr_stanza);
} else {
double elapsed = 0.0;
GTimer *timer = g_timer_new();
while (elapsed < timeoutsecs * 1.0) {
result = stanza_verify_any(curr_stanza);
result = stanzas_verify_any(curr_stanza);
if (result) {
break;
}
@@ -136,12 +136,12 @@ verify_last(char *stanza_text)
int result = 0;
if (timeoutsecs <= 0) {
result = stanza_verify_last(curr_stanza);
result = stanzas_verify_last(curr_stanza);
} else {
double elapsed = 0.0;
GTimer *timer = g_timer_new();
while (elapsed < timeoutsecs * 1.0) {
result = stanza_verify_last(curr_stanza);
result = stanzas_verify_last(curr_stanza);
if (result) {
break;
}