[asterisk-commits] twilson: branch group/manager_http_auth r148566 - /team/group/manager_http_au...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 13 14:13:02 CDT 2008


Author: twilson
Date: Mon Oct 13 14:13:02 2008
New Revision: 148566

URL: http://svn.digium.com/view/asterisk?view=rev&rev=148566
Log:
Take care of some warnings when compiled under dev mode

Modified:
    team/group/manager_http_auth/main/http.c
    team/group/manager_http_auth/main/manager.c

Modified: team/group/manager_http_auth/main/http.c
URL: http://svn.digium.com/view/asterisk/team/group/manager_http_auth/main/http.c?view=diff&rev=148566&r1=148565&r2=148566
==============================================================================
--- team/group/manager_http_auth/main/http.c (original)
+++ team/group/manager_http_auth/main/http.c Mon Oct 13 14:13:02 2008
@@ -236,7 +236,7 @@
 	}
 
 	/* make "Etag:" http header value */
-	sprintf(etag, "\"%d\"", st.st_mtime);
+	sprintf(etag, "\"%ld\"", (unsigned long)st.st_mtime);
 
 	/* make "Last-Modified:" http header value */
 	tv.tv_sec = st.st_mtime;

Modified: team/group/manager_http_auth/main/manager.c
URL: http://svn.digium.com/view/asterisk/team/group/manager_http_auth/main/manager.c?view=diff&rev=148566&r1=148565&r2=148566
==============================================================================
--- team/group/manager_http_auth/main/manager.c (original)
+++ team/group/manager_http_auth/main/manager.c Mon Oct 13 14:13:02 2008
@@ -4220,6 +4220,7 @@
 	strncpy(u_username, user->username, sizeof(u_username)-1);
 	u_readperm = user->readperm;
 	u_writeperm = user->writeperm;
+	u_writetimeout = user->writetimeout;
 	u_displayconnects = user->displayconnects;
 	AST_RWLIST_UNLOCK(&users);
 




More information about the asterisk-commits mailing list