apps/dtnrespond/dtnrespond.c
changeset 67 cfe2328ba1c6
parent 66 e1101c5d54a1
child 70 51693ac735a5
--- a/apps/dtnrespond/dtnrespond.c	Fri Jan 06 17:28:36 2012 +0000
+++ b/apps/dtnrespond/dtnrespond.c	Tue Jan 10 12:57:26 2012 +0000
@@ -212,7 +212,7 @@
     }
 
     // if no reply-to eid set, use the local eid
-    if (reply_eid_name == NULL)
+    if (*reply_eid_name == 0)
         strncpy(reply_eid_name, local_eid_name, PATH_MAX);
 
     return DTN_SUCCESS;