From: Andreas Eversberg Date: Sun, 10 Jul 2011 17:52:08 +0000 (+0200) Subject: [GSM] Replaced strcpy by required macro name. X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=2f5c3dc13063fc5e4cc4b72d2c3484be238c142e;hp=34598a346419f0e661526e6208dade4aff570008 [GSM] Replaced strcpy by required macro name. --- diff --git a/gsm_bs.cpp b/gsm_bs.cpp index a8f7730..e25732a 100644 --- a/gsm_bs.cpp +++ b/gsm_bs.cpp @@ -1005,7 +1005,7 @@ static int socket_retry_cb(struct lcr_timer *timer, void *instance, int index) int gsm_bs_init(void) { gsm->sun.sun_family = AF_UNIX; - strcpy(gsm->sun.sun_path, "/tmp/bsc_mncc"); + SCPY(gsm->sun.sun_path, "/tmp/bsc_mncc"); memset(&gsm->socket_retry, 0, sizeof(gsm->socket_retry)); add_timer(&gsm->socket_retry, socket_retry_cb, NULL, 0);