Commit bcd83b68 authored by Youness Alaoui's avatar Youness Alaoui

Change license for simple-example

parent bd3bb038
...@@ -4,17 +4,25 @@ ...@@ -4,17 +4,25 @@
* Copyright 2013 Collabora Ltd. * Copyright 2013 Collabora Ltd.
* Contact: Youness Alaoui * Contact: Youness Alaoui
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * The contents of this file are subject to the Mozilla Public License Version
* you may not use this file except in compliance with the License. * 1.1 (the "License"); you may not use this file except in compliance with
* You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
* *
* http://www.apache.org/licenses/LICENSE-2.0 * Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
* *
* Unless required by applicable law or agreed to in writing, software * Alternatively, the contents of this file may be used under the terms of the
* distributed under the License is distributed on an "AS IS" BASIS, * the GNU Lesser General Public License Version 2.1 (the "LGPL"), in which
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * case the provisions of LGPL are applicable instead of those above. If you
* See the License for the specific language governing permissions and * wish to allow use of your version of this file only under the terms of the
* limitations under the License. * LGPL and not to allow others to use your version of this file under the
* MPL, indicate your decision by deleting the provisions above and replace
* them with the notice and other provisions required by the LGPL. If you do
* not delete the provisions above, a recipient may use your version of this
* file under either the MPL or the LGPL.
*/ */
/* /*
...@@ -23,11 +31,11 @@ ...@@ -23,11 +31,11 @@
* firewalls. * firewalls.
* *
* Build: * Build:
* gcc -o nicetest nicetest.c `pkg-config --cflags --libs nice` * gcc -o simple-example simple-example.c `pkg-config --cflags --libs nice`
* *
* Run two clients, one controlling and one controlled: * Run two clients, one controlling and one controlled:
* nicetest 0 $(host -4 -t A stun.stunprotocol.org | awk '{ print $4 }') * simple-example 0 $(host -4 -t A stun.stunprotocol.org | awk '{ print $4 }')
* nicetest 1 $(host -4 -t A stun.stunprotocol.org | awk '{ print $4 }') * simple-example 1 $(host -4 -t A stun.stunprotocol.org | awk '{ print $4 }')
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment