Changeset 311 for SH_SHM/trunk


Ignore:
Timestamp:
01/27/2011 11:19:55 AM (12 years ago)
Author:
marcus
Message:

r153 | walther | 2011-01-27 11:12:54 +0100 (Do, 27 Jan 2011) | 1 line

Fixed "race-condition".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/source/seed_io/sfd2db.c

    r310 r311  
    33 *      ======== 
    44 * 
    5  * $Revision: 152 $, $Date: 2011-01-26 12:13:52 +0100 (Mi, 26 Jan 2011) $ 
     5 * $Revision: 153 $, $Date: 2011-01-27 11:12:54 +0100 (Do, 27 Jan 2011) $ 
    66 * 
    77 * reads lines from sfdfile and creates commands to insert into sfdb database 
     
    322322                    network[2] = '\0'; 
    323323 
     324                    /* no network set at all. */ 
     325                    if (!strncmp(network, "..", 2)) 
     326                        network[0] = '\0'; 
     327 
    324328                    /* one digit network codes are common */ 
    325329                    if (network[1] == '.') 
    326330                        network[1] = '\0'; 
    327  
    328                     /* no network set at all. */ 
    329                     if (!strncmp(network, "..", 2)) 
    330                         network[0] = '\0'; 
    331331 
    332332                    for (i=2; i<4; i++) 
Note: See TracChangeset for help on using the changeset viewer.