diff -r e1101c5d54a1 -r cfe2328ba1c6 apps/dtnrespond/dtnrespond.c --- 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;