/[xlog]/xlog/src/utils.c
ViewVC logotype

Diff of /xlog/src/utils.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by pa4tu, Mon Dec 9 20:38:11 2002 UTC revision 1.10 by pa4tu, Fri Jan 3 08:57:39 2003 UTC
# Line 334  findband (gchar * arg) Line 334  findband (gchar * arg)
334    
335    str = g_new0 (gchar, 100);    str = g_new0 (gchar, 100);
336    
337    fr = atoll (arg);    fr = strtoll(arg, (char **)NULL, 10);
338    
339    if (fr > 1325)                /* no dot */    if (fr > 1325)                /* no dot */
340      {      {
# Line 345  findband (gchar * arg) Line 345  findband (gchar * arg)
345          str[strlen (str) - 6] = '\0';          str[strlen (str) - 6] = '\0';
346        else if (strlen (str) > 3)        else if (strlen (str) > 3)
347          str[strlen (str) - 3] = '\0';          str[strlen (str) - 3] = '\0';
348        fr = atoll (str);        fr = strtoll(str, (char **)NULL, 10);
349      }      }
350    
351    switch (fr)    switch (fr)

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26