apps/dtnquery/dtnquery.c
changeset 20 7fd5f0de6c59
parent 18 3d1ea31e2a19
child 23 18b4c80456cf
--- a/apps/dtnquery/dtnquery.c	Wed Jun 29 12:23:07 2011 +0100
+++ b/apps/dtnquery/dtnquery.c	Wed Jun 29 12:44:26 2011 +0100
@@ -381,7 +381,7 @@
     }
 
     // if no reply-to eid set, use the src eid
-    if (reply_eid_name == NULL)
+    if (*reply_eid_name == NULL)
         strncpy(reply_eid_name, src_eid_name, PATH_MAX);
     
     return 0;