diff nnchat.c @ 79:e36df57c5b0f

Use th_strdup() again.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Dec 2008 16:03:53 +0200
parents 745f670068dc
children 335b5a74c22e
line wrap: on
line diff
--- a/nnchat.c	Thu Dec 18 14:34:44 2008 +0200
+++ b/nnchat.c	Wed Dec 24 16:03:53 2008 +0200
@@ -534,7 +534,7 @@
         return 0;
     } else if (!strncmp(buf, "/to ", 4)) {
         th_free(setTarget);
-        setTarget = strdup(buf + 4);
+        setTarget = th_strdup(buf + 4);
         printMsg("Set prv target to '%s'\n", setTarget);
         return 0;
     } else if (!strncmp(buf, "/who", 4)) {