cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f3ba81f7c18d787eb6bcf4737f14144c08145e9c

commit f3ba81f7c18d787eb6bcf4737f14144c08145e9c
Author: Cedric Bail <[email protected]>
Date:   Fri Feb 28 19:58:25 2014 -0300

    ecore_avahi: remove useless printf.
---
 src/examples/ecore_avahi/ecore_avahi_browse_example.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/examples/ecore_avahi/ecore_avahi_browse_example.c 
b/src/examples/ecore_avahi/ecore_avahi_browse_example.c
index b3ca07c..6935a13 100644
--- a/src/examples/ecore_avahi/ecore_avahi_browse_example.c
+++ b/src/examples/ecore_avahi/ecore_avahi_browse_example.c
@@ -90,7 +90,6 @@ _browse_callback(AvahiServiceBrowser *b, AvahiIfIndex 
interface,
    assert(b);
 
    /* Called whenever a new services becomes available on the LAN or is 
removed from the LAN */
-
    switch (event) {
     case AVAHI_BROWSER_FAILURE:
 
@@ -127,13 +126,11 @@ _ecore_avahi_client_cb(AvahiClient *c, AvahiClientState 
state, void * userdata)
 {
   Ecore_Avahi_Example *example = userdata;
 
-  fprintf(stderr, "_ecore_avahi_client_cb: %i\n", state);
   switch (state)
     {
     case AVAHI_CLIENT_S_REGISTERING:
     case AVAHI_CLIENT_S_COLLISION:
     case AVAHI_CLIENT_S_RUNNING:
-      fprintf(stderr, "time to create sb\n");
       if (!example->sb)
         {
            example->sb = avahi_service_browser_new(c, AVAHI_IF_UNSPEC, 
AVAHI_PROTO_UNSPEC, "_ipp._tcp", NULL, 0, _browse_callback, c);
@@ -147,7 +144,6 @@ _ecore_avahi_client_cb(AvahiClient *c, AvahiClientState 
state, void * userdata)
       break;
 
     case AVAHI_CLIENT_FAILURE:
-       fprintf(stderr, "Server connection failure: %s.", 
avahi_strerror(avahi_client_errno(c)));
        if (avahi_client_errno(c) == AVAHI_ERR_DISCONNECTED)
          {
             FREE_CLEAN(example->sb, avahi_service_browser_free);
@@ -158,7 +154,6 @@ _ecore_avahi_client_cb(AvahiClient *c, AvahiClientState 
state, void * userdata)
             break;
          }
     case AVAHI_CLIENT_CONNECTING:
-       fprintf(stderr, "not connected yet\n");
        FREE_CLEAN(example->sb, avahi_service_browser_free);
        break;
     }

-- 


Reply via email to