Code

junos: Fixed a few debugging messages.
authorSebastian Harl <sh@teamix.net>
Wed, 12 Sep 2012 13:54:54 +0000 (15:54 +0200)
committerSebastian Harl <sh@teamix.net>
Wed, 12 Sep 2012 13:54:54 +0000 (15:54 +0200)
src/junos.c

index 8608551f41593c2787712165ac64545dda26edd7..ddf991c49c49f8221cbbe3ed3a43cd3dd99a2bb1 100644 (file)
@@ -331,7 +331,7 @@ junos_connect(junos_t *junos)
        }
 
        read_lines(junos, recv_buf, sizeof(recv_buf));
-       dprintf(" ->  %s", recv_buf);
+       dprintf(" <-  %s", recv_buf);
        return 0;
 } /* junos_connect */
 
@@ -468,7 +468,7 @@ junos_invoke_method(junos_t *junos, const char *name, ...)
                if (status < 0)
                        break;
 
-               dprintf(" ->  %s", recv_buf);
+               dprintf(" <-  %s", recv_buf);
 
                xml_status = xmlParseChunk(junos->xml_ctx, recv_buf, (int)status,
                                /* terminate = */ 0);