use unsetenv, fix warning, patch by Stefano Sabatini, stefano dot sabatini-lala at...
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 7 Jun 2008 23:56:00 +0000 (23:56 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sat, 7 Jun 2008 23:56:00 +0000 (23:56 +0000)
Originally committed as revision 13707 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index 70b5850..cbd1512 100644 (file)
@@ -4385,7 +4385,7 @@ int main(int argc, char **argv)
 
     parse_options(argc, argv, options, NULL);
 
-    putenv("http_proxy");               /* Kill the http_proxy */
+    unsetenv("http_proxy");             /* Kill the http_proxy */
 
     av_init_random(av_gettime() + (getpid() << 16), &random_state);