From: Frédéric Marchal Date: Mon, 27 Dec 2010 15:55:44 +0000 (+0000) Subject: Move a constant call outside of the loop X-Git-Tag: v2.3.2~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fefdc01953a8a7203a54e1dafdaec1de699d25c3;p=thirdparty%2Fsarg.git Move a constant call outside of the loop --- diff --git a/report.c b/report.c index fdc350c..935b88a 100644 --- a/report.c +++ b/report.c @@ -105,6 +105,7 @@ void gerarel(void) puinfo=NULL; fp_tt=NULL; + sort_labels(&sort_field,&sort_order); uscan=userinfo_startscan(); if (uscan == NULL) { @@ -132,7 +133,6 @@ void gerarel(void) maketmp(user,tmp,debug,indexonly); maketmp_hour(user,tmp,indexonly); - sort_labels(&sort_field,&sort_order); ttopen=0; oldurltt=NULL;